MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / timing_headers

Function timing_headers

app/server/runtime.cpp:218–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216 if (extra.method == "GET" && extra.path == "/v1/recipes") {
217 return json_response(recipes_json());
218 }
219 if (extra.method == "POST" && extra.path == "/v1/recipes/run") {
220 return handle_recipe_run(extra.body);
221 }
222 return std::nullopt;
223 });
224 if (response.stream_body) {
225 const int threads = config_.threads;
226 auto inner = std::move(response.stream_body);
227 response.stream_body = [threads, inner = std::move(inner)](HttpStreamWriter & writer) {
228 const ScopedOmpNumThreads stream_omp_threads(threads);
229 inner(writer);
230 };

Callers 1

handle_speechMethod · 0.85

Calls 3

audio_rtfFunction · 0.85
audio_duration_msFunction · 0.70
to_stringFunction · 0.50

Tested by

no test coverage detected