Skip to content

Commit

Permalink
application: change profiling demo loop from 500 to 10 for better hw …
Browse files Browse the repository at this point in the history
…execution speed

previously it cost about 5min on hw, but now it can run at about 30s

Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Dec 9, 2024
1 parent e1b5c44 commit e218cbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion application/baremetal/demo_profiling/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#ifdef CFG_SIMULATION
#define RUN_LOOPS 1
#else
#define RUN_LOOPS 500
#define RUN_LOOPS 10
#endif

// Enable ECB, CTR and CBC mode. Note this can be done before including aes.h or
Expand Down
1 change: 1 addition & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ This is version ``0.8.0`` of Nuclei SDK which is still in development.
- Fix ``demo_vnice`` insufficient mask length when vlen > 128
- Add more documentation for :ref:`design_app_demo_dsp` example
- Optimize :ref:`design_app_smphello` spinlock usage and update doc for it
- Optimize :ref:`design_app_demo_profiling` example execution speed on hw from about 5min to 30s by decease the loop count

* SoC

Expand Down

0 comments on commit e218cbe

Please sign in to comment.