We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2fc3f54 + c4fc88e commit 23e5d4cCopy full SHA for 23e5d4c
Firmware/Tools/VcServerTest.c
@@ -35,6 +35,7 @@
35
#define DISPLAY_COMMAND_COMPLETE 0
36
#define DISPLAY_DATA_ACK 0
37
#define DISPLAY_DATA_NACK 1
38
+#define DISPLAY_RESOURCE_USAGE 0
39
#define DISPLAY_STATE_TRANSITION 0
40
#define DISPLAY_UNKNOWN_COMMANDS 0
41
#define DISPLAY_VC_STATE 0
@@ -1271,7 +1272,7 @@ int main(int argc, char **argv)
1271
1272
// Check the resource usage
1273
//----------------------------------------
1274
- if (!(timeoutCount % (ONE_SECOND_COUNT * 60)))
1275
+ if (DISPLAY_RESOURCE_USAGE && (!(timeoutCount % (ONE_SECOND_COUNT * 60))))
1276
{
1277
struct rusage usage;
1278
int s_days;
0 commit comments