Add time handling interfaces for the pcp platform

Related to https://github.com/htop-dev/htop/pull/574
This commit is contained in:
Nathan Scott
2021-04-08 10:13:43 +10:00
parent 5dfb524237
commit d4a2587568
3 changed files with 48 additions and 13 deletions

View File

@ -250,4 +250,8 @@ int Metric_instanceOffset(Metric metric, int inst);
pmAtomValue *Metric_instance(Metric metric, int inst, int offset, pmAtomValue *atom, int type);
void Platform_gettime_realtime(struct timeval* tv, uint64_t* msec);
void Platform_gettime_monotonic(uint64_t* msec);
#endif