summaryrefslogtreecommitdiffstats
path: root/test/test-client-bandwidth.c
diff options
context:
space:
mode:
authorTimo Dritschler <timo.dritschler@kit.edu>2014-11-21 17:54:13 +0100
committerTimo Dritschler <timo.dritschler@kit.edu>2014-11-21 17:54:13 +0100
commit5235e634860744f0b1251b0e50e89446f93381c2 (patch)
treeb2ead7723f9d7fe30ca5fc000b7f37dd150d0561 /test/test-client-bandwidth.c
parentf98bd3a5d58c59d950aa7318e9b708c42d51687f (diff)
downloadkiro-5235e634860744f0b1251b0e50e89446f93381c2.tar.gz
kiro-5235e634860744f0b1251b0e50e89446f93381c2.tar.bz2
kiro-5235e634860744f0b1251b0e50e89446f93381c2.tar.xz
kiro-5235e634860744f0b1251b0e50e89446f93381c2.zip
Fix #1: Added missing documentation to TRB, Client and Server header
Fixed build warnings Fixed a bug in kiro-test-bandwidth
Diffstat (limited to 'test/test-client-bandwidth.c')
-rw-r--r--test/test-client-bandwidth.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test-client-bandwidth.c b/test/test-client-bandwidth.c
index 8cf87d5..287584a 100644
--- a/test/test-client-bandwidth.c
+++ b/test/test-client-bandwidth.c
@@ -28,7 +28,8 @@ main ( int argc, char *argv[] )
GTimer *timer = g_timer_new ();
-while (1) {
+while (1) {
+ g_timer_reset (timer);
int i = 0;
while(i < 500) {
kiro_client_sync (client);
@@ -41,7 +42,7 @@ while (1) {
}
g_timer_stop (timer);
kiro_client_free (client);
- kiro_trb_free (client);
+ kiro_trb_free (trb);
return 0;
}