Home
last modified time | relevance | path

Searched refs:g_cfg (Results 1 – 1 of 1) sorted by relevance

/external/perfetto/test/stress_test/
Dstress_producer.cc40 StressTestConfig* g_cfg; variable
81 for (uint32_t i = 0; i < std::max(g_cfg->num_threads(), 1u); ++i) in OnSetup()
117 const int64_t max_msgs = g_cfg->max_events() in WorkerMain()
118 ? static_cast<int64_t>(g_cfg->max_events()) in WorkerMain()
127 const auto* timings = &g_cfg->steady_state_timings(); in WorkerMain()
128 if (g_cfg->burst_period_ms() && in WorkerMain()
129 elapsed_ms % g_cfg->burst_period_ms() > in WorkerMain()
130 (g_cfg->burst_period_ms() - g_cfg->burst_duration_ms())) { in WorkerMain()
131 timings = &g_cfg->burst_timings(); in WorkerMain()
155 FillPayload(*timings, seq, g_cfg->nesting(), test_event->set_payload()); in WorkerMain()
[all …]