1 |
/* |
/* |
2 |
* Copyright (c) 2014-2016 Christian Schoenebeck |
* Copyright (c) 2014-2020 Christian Schoenebeck |
3 |
* |
* |
4 |
* http://www.linuxsampler.org |
* http://www.linuxsampler.org |
5 |
* |
* |
188 |
printf("[Event handler '%s' finished with ERROR status]\n", handler->eventHandlerName().c_str()); |
printf("[Event handler '%s' finished with ERROR status]\n", handler->eventHandlerName().c_str()); |
189 |
} else if (result & VM_EXEC_SUSPENDED) { |
} else if (result & VM_EXEC_SUSPENDED) { |
190 |
fmt.yellow(); |
fmt.yellow(); |
191 |
printf("[Event handler '%s' returned with SUSPENDED status: %d microseconds]\n", |
printf("[Event handler '%s' returned with SUSPENDED status: %" PRId64 " microseconds]\n", |
192 |
handler->eventHandlerName().c_str(), execContext->suspensionTimeMicroseconds()); |
handler->eventHandlerName().c_str(), |
193 |
|
(int64_t)execContext->suspensionTimeMicroseconds()); |
194 |
} else if (!(result & VM_EXEC_RUNNING)) { |
} else if (!(result & VM_EXEC_RUNNING)) { |
195 |
fmt.green(); |
fmt.green(); |
196 |
printf("[Event handler '%s' finished with SUCCESS status]\n", handler->eventHandlerName().c_str()); |
printf("[Event handler '%s' finished with SUCCESS status]\n", handler->eventHandlerName().c_str()); |