You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zy...@apache.org on 2012/11/01 16:28:12 UTC

[3/4] git commit: cut 5 columns in the printf

cut 5 columns in the printf


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/63bad12a
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/63bad12a
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/63bad12a

Branch: refs/heads/master
Commit: 63bad12a73a4fc23556a4a38211a0cf7f895e5f7
Parents: f270d47
Author: Zhao Yongming <mi...@gmail.com>
Authored: Wed Oct 31 01:19:32 2012 +0800
Committer: Zhao Yongming <mi...@gmail.com>
Committed: Thu Nov 1 13:27:26 2012 +0800

----------------------------------------------------------------------
 tools/jtest/jtest.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/63bad12a/tools/jtest/jtest.cc
----------------------------------------------------------------------
diff --git a/tools/jtest/jtest.cc b/tools/jtest/jtest.cc
index 418bcc1..a656748 100644
--- a/tools/jtest/jtest.cc
+++ b/tools/jtest/jtest.cc
@@ -2866,7 +2866,7 @@ void interval_report() {
   now = ink_get_hrtime();
   if (!(here++ % 20))
     printf(
- " con  new     ops 1byte   lat      bytes/per        svrs  new  ops      total   time  err\n");
+ " con  new     ops   1B  lat      bytes/per     svrs  new  ops      total   time  err\n");
   RUNNING(clients);
   RUNNING_AVG(running_latency,latency,lat_ops); lat_ops = 0;
   RUNNING_AVG(running_b1latency,b1latency,b1_ops); b1_ops = 0;
@@ -2877,7 +2877,7 @@ void interval_report() {
   RUNNING(tbytes);
   float t = (float)(now - start_time);
   inku64 per = current_clients ? running_cbytes / current_clients : 0;
-  printf("%4d %4d %7.1f %5d %5d %10"inkPRIu64"/%-9"inkPRIu64"  %4d %4d %4d  %9"inkPRIu64" %6.1f %4d\n",
+  printf("%4d %4d %7.1f %4d %4d %10"inkPRIu64"/%-6"inkPRIu64"  %4d %4d %4d  %9"inkPRIu64" %6.1f %4d\n",
          current_clients, // clients, n_ka_cache,
          running_clients,
          running_ops, running_b1latency, running_latency,