xref: /aosp_15_r20/test/dittosuite/example/cpu_workload.ditto (revision 6fa2df46f119dce7527f5beb2814eca0e6f886ac)
1main: {
2  multithreading: {
3    fork: true;
4    threads: [
5      {
6        name: "Cycles"
7        instruction: {
8          cpu_work: {
9            cycles: 1000000
10          }
11          repeat: 100,
12          period_us: 40000
13        },
14        spawn: 2
15      },
16      {
17        name: "Util"
18        instruction: {
19          cpu_work: {
20            utilization: 0.3,
21          }
22          repeat: 100,
23          period_us: 50000
24        },
25        spawn: 2
26      }
27    ]
28  }
29}
30global: {}
31