diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-24 06:44:58 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-24 06:44:58 +0000 |
commit | 6be64e7fbd2eb2b8cea996594b6c70f29e70e585 (patch) | |
tree | 408b4d14e49f97e1dd625a235e9fc573120d321d | |
parent | 83e7043eb8792bd8addafdf37b13581301bc6020 (diff) | |
download | tor-6be64e7fbd2eb2b8cea996594b6c70f29e70e585.tar.gz tor-6be64e7fbd2eb2b8cea996594b6c70f29e70e585.zip |
tor-stress doesn't use gettimeofday anymore, and it's not portable,
so comment it out.
svn:r2976
-rwxr-xr-x | contrib/tor-stress | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/tor-stress b/contrib/tor-stress index e59a968af4..a0c88c2fdd 100755 --- a/contrib/tor-stress +++ b/contrib/tor-stress @@ -1,6 +1,6 @@ #!/usr/bin/perl -require 'sys/syscall.ph'; +#require 'sys/syscall.ph'; $|=1; $total = 1; @@ -15,10 +15,10 @@ for($i=0;$i<$total;$i++) { while(<FD>) { $c += length($_); } - $TIMEVAL_T = "LL"; - $now = pack($TIMEVAL_T, ()); - syscall(&SYS_gettimeofday, $now, 0) != -1 or die "gettimeofday: $!"; - @now = unpack($TIMEVAL_T, $now); +# $TIMEVAL_T = "LL"; +# $now = pack($TIMEVAL_T, ()); +# syscall(&SYS_gettimeofday, $now, 0) != -1 or die "gettimeofday: $!"; +# @now = unpack($TIMEVAL_T, $now); print "Client $i exiting ($c chars).\n"; exit(0); } |