c84264bb398c51438bb5230fc6b4a2a75a5bd923
Stefan Schuermans rename: lwproctrace -> upro...

Stefan Schuermans authored 4 years ago

libuptev/src/timing.h   1) #ifndef UPTEV_TIMING_H
libuptev/src/timing.h   2) #define UPTEV_TIMING_H
Stefan Schuermans proc_end: add proc_cpu_time

Stefan Schuermans authored 4 years ago

liblwpttr/src/timing.h  3) 
Stefan Schuermans rename: lwproctrace -> upro...

Stefan Schuermans authored 4 years ago

libuptev/src/timing.h   4) #include <uproctrace.pb-c.h>
Stefan Schuermans proc_end: add proc_cpu_time

Stefan Schuermans authored 4 years ago

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 rename: lwproctrace -> upro...

Stefan Schuermans authored 4 years ago

libuptev/src/timing.h  10) void uptev_timing_get_timestamp(struct _Uproctrace__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 formatting

Stefan Schuermans authored 4 years ago

libuptev/src/timing.h  16) void uptev_timing_get_proc_cpu_time(
libuptev/src/timing.h  17)     struct _Uproctrace__Timespec *proc_cpu_time);
Stefan Schuermans proc_end: add proc_cpu_time

Stefan Schuermans authored 4 years ago

liblwpttr/src/timing.h 18)