Guest User

Untitled

a guest
Jan 21st, 2013
37
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@raspberrypi1:~# for i in 10 100 1000 10000 100000 200000 500000 ; do rmmod i2c_bcm2708 ; sleep 1 ; modprobe i2c_bcm2708 baudrate=$i ; sleep 1 ; echo "* $i" ; time i2cdetect -y 1 2>&1 >/dev/null | grep real ; done
  2. * 10
  3.  
  4. real 0m0.201s
  5. user 0m0.000s
  6. sys 0m0.020s
  7. * 100
  8.  
  9. real 0m0.082s
  10. user 0m0.010s
  11. sys 0m0.010s
  12. * 1000
  13.  
  14. real 0m0.328s
  15. user 0m0.010s
  16. sys 0m0.010s
  17. * 10000
  18.  
  19. real 0m0.168s
  20. user 0m0.010s
  21. sys 0m0.020s
  22. * 100000
  23.  
  24. real 0m0.066s
  25. user 0m0.010s
  26. sys 0m0.020s
  27. * 200000
  28.  
  29. real 0m0.035s
  30. user 0m0.010s
  31. sys 0m0.010s
  32. * 500000
  33.  
  34. real 0m0.031s
  35. user 0m0.010s
  36. sys 0m0.010s
  37. root@raspberrypi1:~#
RAW Paste Data