diff options
author | Rickard Green <[email protected]> | 2017-06-22 16:11:52 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-06-22 16:11:52 +0200 |
commit | 1f1c7a90ff5bacf19f0437e6f54cfe97e2d25e97 (patch) | |
tree | 82e4108ecb1c69cafeebb2b062643b6b1b128c38 /erts/emulator/beam/sys.h | |
parent | da06fd040775fffee17409ebbd6fa797e34d6f99 (diff) | |
download | otp-1f1c7a90ff5bacf19f0437e6f54cfe97e2d25e97.tar.gz otp-1f1c7a90ff5bacf19f0437e6f54cfe97e2d25e97.tar.bz2 otp-1f1c7a90ff5bacf19f0437e6f54cfe97e2d25e97.zip |
Fix statistics(wall_clock) and statistics(runtime) implementation
Diffstat (limited to 'erts/emulator/beam/sys.h')
-rw-r--r-- | erts/emulator/beam/sys.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h index dd4f05686b..950583bbfa 100644 --- a/erts/emulator/beam/sys.h +++ b/erts/emulator/beam/sys.h @@ -790,10 +790,10 @@ Preload* sys_preloaded(void); unsigned char* sys_preload_begin(Preload*); void sys_preload_end(Preload*); int sys_get_key(int); -void elapsed_time_both(UWord *ms_user, UWord *ms_sys, - UWord *ms_user_diff, UWord *ms_sys_diff); -void wall_clock_elapsed_time_both(UWord *ms_total, - UWord *ms_diff); +void elapsed_time_both(ErtsMonotonicTime *ms_user, ErtsMonotonicTime *ms_sys, + ErtsMonotonicTime *ms_user_diff, ErtsMonotonicTime *ms_sys_diff); +void wall_clock_elapsed_time_both(ErtsMonotonicTime *ms_total, + ErtsMonotonicTime *ms_diff); void get_time(int *hour, int *minute, int *second); void get_date(int *year, int *month, int *day); void get_localtime(int *year, int *month, int *day, |