runbench 521 B

1234567891011121314151617181920212223242526
  1. #!/bin/rc
  2. #
  3. # kernel as of /n/nixdump/2012/0119/sys/src/nix/bench
  4. # Single sched, 32 TCs.
  5. # Time to make a kernel
  6. #
  7. rfork ne
  8. # restore the pxe file we saved
  9. cp pxeorig /cfg/pxe/003048ff2106
  10. # import rc functions popular among scripts, e.g. fail
  11. #
  12. . ../tools
  13. # How much time does it take to make a kernel
  14. ../Time 'cd /sys/src/nix/k10 ; mk clean ; mk'
  15. # What's the value for measures taken from the kernel?
  16. # echo '#cat /dev/debug'
  17. # cat /dev/debug
  18. # NB: this is an example. /dev/debug is reported already by Time