From 792726be8dccebde0abb023c226926edd0675c02 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 11 Jul 2008 10:35:59 +0000 Subject: [PATCH] print cache age in client_test --- examples/client_test.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/client_test.cpp b/examples/client_test.cpp index 202f74abb..567317f36 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -1414,7 +1414,9 @@ int main(int ac, char* av[]) else out << " "; #endif } - out << "]\n"; + out << "] " << "cache age: " + << (total_milliseconds(time_now() - i->last_use) / 1000.f) + << "\n"; } out << "___________________________________\n"; }