diff options
| author | drowe67 <[email protected]> | 2023-07-20 08:59:48 +0930 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-20 08:59:48 +0930 |
| commit | 06d4c11e699b0351765f10398abb4f663a984f36 (patch) | |
| tree | 33e22af0814c5b6c3d676f096ae8c2ac8a3ed9f0 /src/machdep.h | |
| parent | 6588e77f38bdebd7adffe091b22e7760d95d0ccb (diff) | |
| parent | 4d6c143c0abec15e1d6ed1fd95d36f80e6cb7df8 (diff) | |
Merge pull request #3 from drowe67/dr-cleanup21.2.0
Cleanup Part 2
Diffstat (limited to 'src/machdep.h')
| -rw-r--r-- | src/machdep.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/machdep.h b/src/machdep.h index cd6b00f..e17b5fa 100644 --- a/src/machdep.h +++ b/src/machdep.h @@ -33,9 +33,9 @@ #define PROFILE_VAR(...) unsigned int __VA_ARGS__ #define PROFILE_SAMPLE(timestamp) timestamp = machdep_profile_sample() #define PROFILE_SAMPLE_AND_LOG(timestamp, prev_timestamp, label) \ - timestamp = machdep_profile_sample_and_log(prev_timestamp, label) + timestamp = machdep_profile_sample_and_log(prev_timestamp, label) #define PROFILE_SAMPLE_AND_LOG2(prev_timestamp, label) \ - machdep_profile_sample_and_log(prev_timestamp, label) + machdep_profile_sample_and_log(prev_timestamp, label) #else #define PROFILE_VAR(...) #define PROFILE_SAMPLE(timestamp) @@ -43,10 +43,10 @@ #define PROFILE_SAMPLE_AND_LOG2(prev_timestamp, label) #endif -void machdep_profile_init(void); -void machdep_profile_reset(void); +void machdep_profile_init(void); +void machdep_profile_reset(void); unsigned int machdep_profile_sample(void); unsigned int machdep_profile_sample_and_log(unsigned int start, char s[]); -void machdep_profile_print_logged_samples(void); +void machdep_profile_print_logged_samples(void); #endif |
