32 #if defined(ARDUINO_ARCH_SAMD) && (USB_PID == 0x8D21) 33 #define Serial SerialUSB 49 Serial.println(F(
"SchedulerBenchmarkChannel: started"));
58 unsigned long start = millis();
59 await(millis() - start >= 1000);
61 Serial.print(F(
" ("));
62 Serial.print(1000000.0 /
count);
63 Serial.println(F(
" us)"));
72 chan.
send(&msg,
sizeof(msg));
79 chan.
recv(&msg,
sizeof(msg));
int recv(void *buf, size_t size)
static bool startLoop(func_t taskLoop, size_t stackSize=DEFAULT_STACK_SIZE)
uint8_t payload[PAYLOAD_MAX]
int send(const void *buf, size_t size)