1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-29 13:01:13 +03:00

benchmarks: added raw_download test

This commit is contained in:
Aris Adamantiadis
2011-08-28 13:29:25 +03:00
parent a2c94abb92
commit 5d9cd8bf39
4 changed files with 130 additions and 15 deletions

View File

@ -137,7 +137,7 @@ int benchmarks_ssh_latency(ssh_session session, float *average){
ssh_channel_close(channel);
ssh_channel_free(channel);
channel=NULL;
printf("Times : %f ms ; %f ms ; %f ms\n", times[0], times[1], times[2]);
printf("SSH request times : %f ms ; %f ms ; %f ms\n", times[0], times[1], times[2]);
*average=(times[0]+times[1]+times[2])/3;
return 0;
error: