MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / simulator_process_performance

Function simulator_process_performance

packages/server/src/api/routes.rs:1983–1989  ·  view source on GitHub ↗
(
    State(state): State<AppState>,
    Path((udid, pid)): Path<(String, i32)>,
    Query(query): Query<PerformanceRequestQuery>,
)

Source from the content-addressed store, hash-verified

1981}
1982
1983async fn simulator_process_performance(
1984 State(state): State<AppState>,
1985 Path((udid, pid)): Path<(String, i32)>,
1986 Query(query): Query<PerformanceRequestQuery>,
1987) -> Result<Json<Value>, AppError> {
1988 simulator_performance_payload(state, udid, Some(pid), query.window_ms).await
1989}
1990
1991async fn simulator_performance_payload(
1992 state: AppState,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected