Commit bafe8050 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Add a 'd' duration presentation type to VSM counters

Mark the two uptime counters as duration
parent ca16533c
......@@ -35,7 +35,7 @@
* Globals, not related to traffic
*/
VSC_F(uptime, uint64_t, 0, 'c', 'i', info,
VSC_F(uptime, uint64_t, 0, 'c', 'd', info,
"Child process uptime",
"How long the child process has been running."
)
......
......@@ -40,6 +40,7 @@
* f - Format: Display format for the field
* 'b' - Bitmap
* 'i' - Integer
* 'd' - Duration
* v - Verbosity: Counter verbosity level (see vsc_levels.h)
* d - Description: Short description of field (for screen use)
* e - Explanation: Long explanation of field (for doc use)
......@@ -64,7 +65,7 @@
#ifdef VSC_DO_MGT
VSC_F(uptime, uint64_t, 0, 'c', 'i', info,
VSC_F(uptime, uint64_t, 0, 'c', 'd', info,
"Management process uptime",
"Uptime in seconds of the management process"
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment