git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
@brief, not @purpose
[matches/MCTX3420.git]
/
server
/
sensors
/
resource.h
1
/**
2
* @file resource.h
3
* @brief Testing sensors; gets rescource usage
4
*/
5
6
#include <stdbool.h>
7
8
/**
9
* Enum of sensor ids
10
*/
11
typedef enum
12
{
13
RESOURCE_CPU_USER,
14
RESOURCE_CPU_SYS
15
} ResourceID;
16
17
extern bool Resource_Read(int id, double * value);
UCC
git Repository :: git.ucc.asn.au