MCPcopy Create free account
hub / github.com/arkhipenko/TaskScheduler / task1_callback

Function task1_callback

tests/test-scheduler-basic.cpp:33–36  ·  view source on GitHub ↗

* @brief Simple callback function for Task 1 testing * * Records execution in the global test_output vector for verification. * Used primarily for single-task execution tests and timing verification. * Outputs execution timestamp for debugging timing-related issues. */

Source from the content-addressed store, hash-verified

31 * Outputs execution timestamp for debugging timing-related issues.
32 */
33void task1_callback() {
34 test_output.push_back("Task1 executed");
35 std::cout << "Task1 executed at " << millis() << "ms" << std::endl;
36}
37
38/**
39 * @brief Simple callback function for Task 2 testing

Callers

nothing calls this directly

Calls 1

millisFunction · 0.85

Tested by

no test coverage detected