vireshk

Untitled

Jan 31st, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. $ cat remote-wakeup.json
  2. {
  3. "tasks" : {
  4. "light_thread1" : {
  5. "cpus" : [1],
  6. "instance" : 1,
  7. "loop" : 100,
  8. "run" : 5000,
  9. "timer" : { "ref" : "unique", "period" : 20000 }
  10. },
  11.  
  12. "light_thread2" : {
  13. "cpus" : [2],
  14. "instance" : 1,
  15. "loop" : 100,
  16. "run" : 5000,
  17. "timer" : { "ref" : "unique", "period" : 20000 }
  18. },
  19.  
  20. "heavy_thread" : {
  21. "loop" : 20,
  22. "phases" : {
  23. "phase1" : {
  24. "cpus" : [1],
  25. "run" : 10000,
  26. "timer" : { "ref" : "unique", "period" : 20000 }
  27. },
  28.  
  29. "phase2" : {
  30. "cpus" : [2],
  31. "run" : 10000,
  32. "timer" : { "ref" : "unique", "period" : 20000 }
  33. }
  34. }
  35. }
  36. },
  37. "global" : {
  38. "duration" : 6,
  39. "calibration" : "CPU0",
  40. "default_policy" : "SCHED_OTHER",
  41. "pi_enabled" : false,
  42. "lock_pages" : false,
  43. "logdir" : "./",
  44. "log_basename" : "rt-app",
  45. "gnuplot" : true
  46. }
  47. }
Add Comment
Please, Sign In to add comment