/[svn]/linuxsampler/trunk/src/ls_instr_script.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/ls_instr_script.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3706 by schoenebeck, Sat Jul 15 01:14:20 2017 UTC revision 3707 by schoenebeck, Wed Jan 8 21:21:58 2020 UTC
# Line 1  Line 1 
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   *   *
# Line 188  int main(int argc, char *argv[]) { Line 188  int main(int argc, char *argv[]) {
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());

Legend:
Removed from v.3706  
changed lines
  Added in v.3707

  ViewVC Help
Powered by ViewVC