81bf78b39d3b82f8ffd123f796ae5e6f5228af4c
Stefan Schuermans proc_end: add proc_cpu_time

Stefan Schuermans authored 4 years ago

liblwpttr/src/timing.h  1) #ifndef LWPTTR_TIMING_H
liblwpttr/src/timing.h  2) #define LWPTTR_TIMING_H
liblwpttr/src/timing.h  3) 
liblwpttr/src/timing.h  4) #include <lwproctrace.pb-c.h>
liblwpttr/src/timing.h  5) 
liblwpttr/src/timing.h  6) /**
liblwpttr/src/timing.h  7)  * @brief fill timestamp with current time
liblwpttr/src/timing.h  8)  * @param[in,out] timestamp initialized structure to set to current time
liblwpttr/src/timing.h  9)  */
Stefan Schuermans lwpttr -> lwptev

Stefan Schuermans authored 4 years ago

liblwptev/src/timing.h 10) void lwptev_timing_get_timestamp(struct _Lwproctrace__Timespec *timestamp);
Stefan Schuermans proc_end: add proc_cpu_time

Stefan Schuermans authored 4 years ago

liblwpttr/src/timing.h 11) 
liblwpttr/src/timing.h 12) /**
liblwpttr/src/timing.h 13)  * @brief fill timestamp with total CPU time used by process
liblwpttr/src/timing.h 14)  * @param[in,out] timestamp initialized structure to set to proccess CPU time
liblwpttr/src/timing.h 15)  */
Stefan Schuermans lwpttr -> lwptev

Stefan Schuermans authored 4 years ago

liblwptev/src/timing.h 16) void lwptev_timing_get_proc_cpu_time(struct _Lwproctrace__Timespec
liblwptev/src/timing.h 17)                                      *proc_cpu_time);