[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    [master] bafe805 Add a 'd' duration presentation type to VSM counters
From:       Martin Blix Grydeland <martin () varnish-software ! com>
Date:       2015-01-27 16:17:56
Message-ID: E1YG8pw-0003Kt-P1 () project ! varnish-software ! com
[Download RAW message or body]


commit bafe80500827c15d014991187ab1e5fe02ac02bb
Author: Martin Blix Grydeland <martin@varnish-software.com>
Date:   Mon Jan 19 14:07:55 2015 +0100

    Add a 'd' duration presentation type to VSM counters
    
    Mark the two uptime counters as duration

diff --git a/include/tbl/vsc_f_main.h b/include/tbl/vsc_f_main.h
index c40867c..94444d3 100644
--- a/include/tbl/vsc_f_main.h
+++ b/include/tbl/vsc_f_main.h
@@ -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."
 )
diff --git a/include/tbl/vsc_fields.h b/include/tbl/vsc_fields.h
index 1a7dfd8..7b06a8c 100644
--- a/include/tbl/vsc_fields.h
+++ b/include/tbl/vsc_fields.h
@@ -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"
 )

_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic