File: s4u-exec-cpu-factors.tesh

package info (click to toggle)
simgrid 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 38,980 kB
  • sloc: cpp: 123,583; ansic: 66,779; python: 8,358; java: 6,406; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,337; perl: 1,436; makefile: 105; lisp: 49; javascript: 7; sed: 6
file content (6 lines) | stat: -rw-r--r-- 539 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
$ ${bindir:=.}/s4u-exec-cpu-factors "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
> [  0.000000] (1:runner@runner) Executing 1 tasks of 1e+06 flops, should take 1 second.
> [  0.000000] (0:maestro@) Host runner, task with 1000000.000000 flops, new factor 1.000000
> [  1.000000] (1:runner@runner) Executing 1 tasks of 100000 flops, it would take .001s without factor. It'll take .002s
> [  1.000000] (0:maestro@) Host runner, task with 1000.000000 flops, new factor 0.500000
> [  1.002000] (1:runner@runner) Finished executing. Goodbye now!