summaryrefslogtreecommitdiffstats
path: root/tests/blueprints/tosca-vnfd-hello-ves/evel_demo.c
diff options
context:
space:
mode:
authorBryan Sullivan <bryan.sullivan@att.com>2016-10-15 08:39:52 -0700
committerBryan Sullivan <bryan.sullivan@att.com>2016-10-15 08:41:36 -0700
commita939d3cda9fef3a935dc6176ab88241619eb344c (patch)
tree4a872c3d62d39582bc794a3bd2a5ce7ac65ab467 /tests/blueprints/tosca-vnfd-hello-ves/evel_demo.c
parent85f08452151ec648e180b4500c0da589999b99df (diff)
Fix agent startup, add monitor.py and favicon
JIRA: VES-1 Report intended traffic measurement at agent Change-Id: I587150f80eebfdd4b1efaafc48b78db30dd33468 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
Diffstat (limited to 'tests/blueprints/tosca-vnfd-hello-ves/evel_demo.c')
-rw-r--r--tests/blueprints/tosca-vnfd-hello-ves/evel_demo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/blueprints/tosca-vnfd-hello-ves/evel_demo.c b/tests/blueprints/tosca-vnfd-hello-ves/evel_demo.c
index 50f45ec..39cd528 100644
--- a/tests/blueprints/tosca-vnfd-hello-ves/evel_demo.c
+++ b/tests/blueprints/tosca-vnfd-hello-ves/evel_demo.c
@@ -211,7 +211,7 @@ void measure_traffic() {
time (&rawtime);
timeinfo = localtime (&rawtime);
strftime(period,7,"%H:%M:",timeinfo);
- strftime(secs,2,"%S",timeinfo);
+ strftime(secs,3,"%S",timeinfo);
sec = atoi(secs);
if (sec == 0) sec = 59;
sprintf(secs, "%02d", sec);
@@ -228,6 +228,7 @@ void measure_traffic() {
if (fgets(count, 10, fp) != NULL) {
request_rate = atoi(count);
+ printf("Reporting request rate for second: %s as %d\n", period, request_rate);
measurement = evel_new_measurement(concurrent_sessions,
configured_entities, mean_request_latency, measurement_interval,
memory_configured, memory_used, request_rate);