Skip to content

Commit

Permalink
profiles clear on amy_profiles_init()
Browse files Browse the repository at this point in the history
  • Loading branch information
bwhitman committed Feb 14, 2024
1 parent f99ef94 commit f62f2b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amy.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ int64_t amy_get_us() { struct timeval tv; gettimeofday(&tv,NULL); return tv.tv_s
void amy_profiles_init() {
for(uint8_t i=0;i<NO_TAG;i++) { AMY_PROFILE_INIT(i) }
}
void amy_profiles_print() { for(uint8_t i=0;i<NO_TAG;i++) { AMY_PROFILE_PRINT(i) } }
void amy_profiles_print() { for(uint8_t i=0;i<NO_TAG;i++) { AMY_PROFILE_PRINT(i) } amy_profiles_init(); }
#else
#define amy_profiles_init()
#define amy_profiles_print()
Expand Down

0 comments on commit f62f2b0

Please sign in to comment.