gdbinit 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2010-2014 Université de Bordeaux
  4. # Copyright (C) 2010, 2011, 2012, 2013, 2014 Centre National de la Recherche Scientifique
  5. #
  6. # StarPU is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU Lesser General Public License as published by
  8. # the Free Software Foundation; either version 2.1 of the License, or (at
  9. # your option) any later version.
  10. #
  11. # StarPU is distributed in the hope that it will be useful, but
  12. # WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. #
  15. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  16. # To set a breakpoint when starting gdb with option "-ex run",
  17. # here what you need to do:
  18. #set breakpoint pending on
  19. #break starpu_mpi.c:419
  20. define starpu-print-job
  21. set language c
  22. set $job = (struct _starpu_job *)$arg0
  23. printf "StarPU Job (%p)\n", $job
  24. if ($job != 0)
  25. printf "\ttask:\t\t\t\t<%p>\n", $job->task
  26. printf "\tsubmitted:\t\t\t<%d>\n", $job->submitted
  27. printf "\tterminated:\t\t\t<%d>\n", $job->terminated
  28. printf "\tjob_id:\t\t\t\t<%d>\n", $job->job_id
  29. if $job->task && $job->task->name
  30. printf "\tname:\t\t\t\t<%s>\n", $job->task->name
  31. end
  32. end
  33. end
  34. document starpu-print-job
  35. Prints a StarPU job
  36. end
  37. define starpu-print-task
  38. set language c
  39. set $task = (struct starpu_task *)$arg0
  40. set $job = (struct _starpu_job *)$task->starpu_private
  41. set $status=0
  42. if $task->status == 0
  43. set $status="STARPU_TASK_INVALID"
  44. end
  45. if $task->status == 1
  46. set $status="STARPU_TASK_BLOCKED"
  47. end
  48. if $task->status == 2
  49. set $status="STARPU_TASK_READY"
  50. end
  51. if $task->status == 3
  52. set $status="STARPU_TASK_RUNNING"
  53. end
  54. if $task->status == 4
  55. set $status="STARPU_TASK_FINISHED"
  56. end
  57. if $task->status == 5
  58. set $status="STARPU_TASK_BLOCKED_ON_TAG"
  59. end
  60. if $task->status == 6
  61. set $status="STARPU_TASK_BLOCKED_ON_TASK"
  62. end
  63. if $task->status == 7
  64. set $status="STARPU_TASK_BLOCKED_ON_DATA"
  65. end
  66. if $task->status == 8
  67. set $status="STARPU_TASK_STOPPED"
  68. end
  69. printf "StarPU Task (%p)\n", $task
  70. if $task->name
  71. printf "\tname:\t\t\t\t<%s>\n", $task->name
  72. end
  73. printf "\tcodelet:\t\t\t<%p>\n", $task->cl
  74. printf "\tcallback:\t\t\t<%p>\n", $task->callback_func
  75. printf "\tsynchronous:\t\t\t<%d>\n", $task->synchronous
  76. printf "\texecute_on_a_specific_worker:\t<%d>\n", $task->execute_on_a_specific_worker
  77. printf "\tworkerid:\t\t\t<%d>\n", $task->workerid
  78. printf "\tdetach:\t\t\t\t<%d>\n", $task->detach
  79. printf "\tdestroy:\t\t\t<%d>\n", $task->destroy
  80. printf "\tregenerate:\t\t\t<%d>\n", $task->regenerate
  81. printf "\tstatus:\t\t\t\t<%s>\n", $status
  82. printf "\tjob:\t\t\t\t<%p>\n", $job
  83. printf "\tndeps:\t\t\t\t<%u>\n", $job->job_successors->ndeps
  84. printf "\tndeps_completed:\t\t<%u>\n", $job->job_successors->ndeps_completed
  85. printf "\tnsuccs:\t\t\t\t<%u>\n", $job->job_successors->nsuccs
  86. if $job
  87. starpu-print-job $job
  88. end
  89. end
  90. define starpu-print-task-and-successor
  91. set language c
  92. set $t = (struct starpu_task *) ($arg0)
  93. starpu-print-task $t
  94. set $j = (struct _starpu_job *) $t->starpu_private
  95. set $nsuccs = $j->job_successors.nsuccs
  96. set $i = 0
  97. while $i < $nsuccs
  98. set $cg = $j->job_successors.succ[$i]
  99. if ($cg->cg_type == 1)
  100. # STARPU_CG_APPS
  101. printf "waited for by application"
  102. end
  103. if ($cg->cg_type == 2)
  104. # STARPU_CG_TAG
  105. printf "will produce tag %x\n", $cg->succ.tag
  106. end
  107. if ($cg->cg_type == 4)
  108. # STARPU_CG_TASK
  109. printf "dep of task %p\n", $cg->succ.job
  110. starpu-print-task $cg->succ.job->task
  111. end
  112. set $i = $i + 1
  113. end
  114. end
  115. document starpu-print-task
  116. Prints a StarPU task
  117. end
  118. define starpu-tasks-on-worker
  119. set language c
  120. set $worker=config->workers[$arg0]
  121. set $task=$worker.local_tasks.head
  122. while $task != 0x0
  123. starpu-print-task $task
  124. set $task=$task->next
  125. end
  126. end
  127. define starpu-tasks-on-workers
  128. set language c
  129. set $num=0
  130. while $num<config->topology->nworkers
  131. printf "Worker %s\n", config->workers[$num].name
  132. starpu-tasks-on-worker $num
  133. set $num = $num + 1
  134. end
  135. end
  136. define starpu-workers
  137. set language c
  138. set $num=0
  139. printf "[Id] Name Arch Mask Devid Bindid Workerid Isrunning Isinitialized Status\n"
  140. while $num<config->topology->nworkers
  141. set $worker=&config->workers[$num]
  142. if $worker->status == STATUS_INVALID
  143. set $status="INVALID"
  144. end
  145. if $worker->status == STATUS_UNKNOWN
  146. set $status="UNKNOWN"
  147. end
  148. if $worker->status == STATUS_INITIALIZING
  149. set $status="INITIALIZING"
  150. end
  151. if $worker->status == STATUS_EXECUTING
  152. set $status="EXECUTING"
  153. end
  154. if $worker->status == STATUS_CALLBACK
  155. set $status="CALLBACK"
  156. end
  157. if $worker->status == STATUS_SCHEDULING
  158. set $status="SCHEDULING"
  159. end
  160. if $worker->status == STATUS_SLEEPING
  161. set $status="SLEEPING"
  162. end
  163. if $worker->status == STATUS_WAKING_UP
  164. set $status="WAKING_UP"
  165. end
  166. printf "[%2d] %-40s %-4d %-4d %-5d %-6d %-8d %-9d %-13d %s\n", $num, $worker->name, $worker->arch, $worker->worker_mask, \
  167. $worker->devid, $worker->bindid, $worker->workerid, $worker->worker_is_running, $worker->worker_is_initialized, $status
  168. set $num = $num + 1
  169. end
  170. end
  171. document starpu-workers
  172. Prints a list of the StarPU workers
  173. end
  174. define starpu-tags
  175. printf "tags htbl %p\n", tag_htbl
  176. printf "TODO\n"
  177. end
  178. define starpu-tasks
  179. set language c
  180. set $num=0
  181. set $nsubmitted=0
  182. set $nready=0
  183. while $num<config->topology->nsched_ctxs
  184. set $nsubmitted = $nsubmitted + config->sched_ctxs[$num]->tasks_barrier->barrier->reached_start
  185. set $nready = $nready + config->sched_ctxs[$num]->ready_tasks_barrier->barrier->reached_start
  186. set $num = $num + 1
  187. end
  188. printf "%d submitted tasks\n", $nsubmitted
  189. printf "%d ready tasks\n", $nready
  190. printf "Tasks being run:\n"
  191. set $n = 0
  192. while $n < config.topology.nworkers
  193. printf "worker %d %s:\n", $n, config.workers[$n].short_name
  194. if config.workers[$n].pipeline_length > 0
  195. set $m = 0
  196. while $m < config.workers[$n].ntasks
  197. set $t = config.workers[$n].current_tasks[(config.workers[$n].first_task + $m) % (sizeof(config.workers[$n].current_tasks)/sizeof(config.workers[$n].current_tasks[0]))]
  198. starpu-print-task-and-successor $t
  199. set $m = $m + 1
  200. end
  201. end
  202. set $task = config.workers[$n].current_task
  203. if ($task)
  204. starpu-print-task-and-successor $task
  205. end
  206. set $n = $n + 1
  207. end
  208. if (tag_htbl)
  209. printf "TODO: tags\n"
  210. end
  211. print "TODO: complete\n"
  212. end
  213. define starpu
  214. printf "Here I am...\n"
  215. end
  216. define starpu-print-mode
  217. if ($arg0 & 1)
  218. printf "R"
  219. end
  220. if ($arg0 & 2)
  221. printf "W"
  222. end
  223. if ($arg0 & 4)
  224. printf " SCRATCH"
  225. end
  226. if ($arg0 & 8)
  227. printf " REDUX"
  228. end
  229. end
  230. define starpu-print-data
  231. set language c
  232. set $data = (starpu_data_handle_t) $arg0
  233. printf "Data handle %p\n", $data
  234. printf "Home node %d\n", $data->home_node
  235. printf "RWlock refs %d\n", $data->refcnt
  236. printf "Busy count %d\n", $data->busy_count
  237. printf "Current mode "
  238. starpu-print-mode $data->current_mode
  239. printf "\n"
  240. if $data->current_mode & (4|8)
  241. set $n = 0
  242. while $n < config.topology.nworkers
  243. set $replicate = $data->per_worker[$n]
  244. printf "Worker %2d %10s:", $n, config->workers[$n]->name
  245. if $replicate.state == 0
  246. printf " OWNER"
  247. end
  248. if $replicate.state == 1
  249. printf " SHARED"
  250. end
  251. if $replicate.state == 2
  252. printf " INVALID"
  253. end
  254. if $replicate.initialized
  255. printf " initialized"
  256. end
  257. printf "\n"
  258. set $n = $n + 1
  259. end
  260. else
  261. set $n = 0
  262. while $n < descr.nnodes
  263. set $replicate = &$data->per_node[$n]
  264. printf "Node %2d (%2d):", $n, $replicate->refcnt
  265. if $replicate.state == 0
  266. printf " OWNER"
  267. end
  268. if $replicate.state == 1
  269. printf " SHARED"
  270. end
  271. if $replicate.state == 2
  272. printf " INVALID"
  273. end
  274. if $replicate.initialized
  275. printf " initialized"
  276. end
  277. printf "\n"
  278. set $n = $n + 1
  279. end
  280. end
  281. printf "Post sync tasks\n"
  282. set $tasklist = $data->post_sync_tasks
  283. while $tasklist != 0x0
  284. starpu-print-task $tasklist->task
  285. set $tasklist = $tasklist->next
  286. end
  287. printf "Requester tasks\n"
  288. set $requesterlist = $data->req_list._head
  289. while $requesterlist != 0x0
  290. printf "mode: "
  291. starpu-print-mode $requesterlist->mode
  292. printf "\n"
  293. starpu-print-job $requesterlist->j
  294. set $requesterlist = $requesterlist->_next
  295. end
  296. if ($data->nchildren)
  297. printf "%d children\n", $data->nchildren
  298. end
  299. end
  300. define starpu-print-datas
  301. set $entry = registered_handles
  302. while $entry
  303. starpu-print-data $entry->handle
  304. printf "\n"
  305. set $entry = (struct handle_entry *) $entry.hh.next
  306. end
  307. end
  308. define starpu-print-datas-summary
  309. set language c
  310. set $entry = registered_handles
  311. set $data_n = 0
  312. set $pw_data_n = 0
  313. set $data_n_allocated = 0
  314. set $replicate_n_owners = 0
  315. set $replicate_n_shared = 0
  316. set $replicate_n_invalid = 0
  317. set $replicate_n_initialized = 0
  318. set $replicate_n_allocated = 0
  319. set $pw_replicate_n_owners = 0
  320. set $pw_replicate_n_shared = 0
  321. set $pw_replicate_n_invalid = 0
  322. set $pw_replicate_n_initialized = 0
  323. set $pw_replicate_n_allocated = 0
  324. while $entry
  325. set $data = (starpu_data_handle_t) $entry->handle
  326. if $data->current_mode & (4|8)
  327. set $pw_data_n = $pw_data_n + 1
  328. set $n = 0
  329. while $n < config.topology.nworkers
  330. set $replicate = $data->per_worker[$n]
  331. if $replicate.state == 0
  332. set $pw_replicate_n_owners = $pw_replicate_n_owners + 1
  333. end
  334. if $replicate.state == 1
  335. set $pw_replicate_n_shared = $pw_replicate_n_shared + 1
  336. end
  337. if $replicate.state == 2
  338. set $pw_replicate_n_invalid = $pw_replicate_n_invalid + 1
  339. end
  340. if $replicate.initialized
  341. set $pw_replicate_n_initialized = $pw_replicate_n_initialized + 1
  342. end
  343. if $replicate.allocated
  344. set $pw_replicate_n_allocated = $pw_replicate_n_allocated + 1
  345. end
  346. set $n = $n + 1
  347. end
  348. else
  349. set $data_n = $data_n + 1
  350. set $n = 0
  351. while $n < descr.nnodes
  352. set $replicate = &$data->per_node[$n]
  353. if $replicate.state == 0
  354. set $replicate_n_owners = $replicate_n_owners + 1
  355. end
  356. if $replicate.state == 1
  357. set $replicate_n_shared = $replicate_n_shared + 1
  358. end
  359. if $replicate.state == 2
  360. set $replicate_n_invalid = $replicate_n_invalid + 1
  361. end
  362. if $replicate.initialized
  363. set $replicate_n_initialized = $replicate_n_initialized + 1
  364. end
  365. if $replicate.allocated
  366. set $replicate_n_allocated = $replicate_n_allocated + 1
  367. set $data_allocated = 1
  368. end
  369. set $n = $n + 1
  370. end
  371. if $data_allocated
  372. set $data_n_allocated = $data_n_allocated + 1
  373. end
  374. end
  375. set $entry = (struct handle_entry *) $entry.hh.next
  376. end
  377. printf "Number of handles: %d\n", $data_n
  378. printf "Number of allocated handles: %d\n", $data_n_allocated
  379. printf "Number of OWNER replicates: %d\n", $replicate_n_owners
  380. printf "Number of SHARED replicates: %d\n", $replicate_n_shared
  381. printf "Number of INVALID replicates: %d\n", $replicate_n_invalid
  382. printf "Number of initialized replicates: %d\n", $replicate_n_initialized
  383. printf "Number of allocated replicates: %d\n", $replicate_n_allocated
  384. printf "Number of per-worker handles: %d\n", $pw_data_n
  385. printf "Number of OWNER per-worker replicates: %d\n", $pw_replicate_n_owners
  386. printf "Number of SHARED per-worker replicates: %d\n", $pw_replicate_n_shared
  387. printf "Number of INVALID per-worker replicates: %d\n", $pw_replicate_n_invalid
  388. printf "Number of initialized per-worker replicates: %d\n", $pw_replicate_n_initialized
  389. printf "Number of allocated per-worker replicates: %d\n", $pw_replicate_n_allocated
  390. end
  391. define starpu-print-request
  392. set $r = (struct _starpu_data_request *)$arg0
  393. printf "Request %p\n", $r
  394. printf "Refcnt %d\n", $r->refcnt
  395. printf "Handle %p\n", $r->handle
  396. printf "src_replicate %p\n", $r->src_replicate
  397. printf "dst_replicate %p\n", $r->dst_replicate
  398. printf "handling_node %d\n", $r->handling_node
  399. if ($r->mode & 1)
  400. printf "R"
  401. end
  402. if ($r->mode & 2)
  403. printf "W"
  404. end
  405. if ($r->mode & 4)
  406. printf "S"
  407. end
  408. if ($r->mode & 8)
  409. printf "X"
  410. end
  411. printf "\n"
  412. printf "completed: %d\n", $r->completed
  413. printf "prefetch: %d\n", $r->prefetch
  414. printf "retval: %d\n", $r->retval
  415. printf "ndeps: %d\n", $r->ndeps
  416. printf "next_req_count: %d\n", $r->next_req_count
  417. printf "comid: %u\n", $r->com_id
  418. set $c = $r->callbacks
  419. while $c != 0
  420. printf "callback: %p %p\n", $c->callback_func, $c->callback_arg
  421. set $c = $c->next
  422. end
  423. end
  424. define starpu-print-requests
  425. set $node = 0
  426. while $node < descr.nnodes
  427. printf "Node %u:\n", $node
  428. set $request = data_requests[$node]._head
  429. while $request != 0
  430. printf " Request %p: handle %p ", $request, $request->handle
  431. starpu-print-mode $request->mode
  432. printf "\n"
  433. set $request = $request->_next
  434. end
  435. set $node = $node + 1
  436. end
  437. end
  438. define starpu-print-prequests
  439. set $node = 0
  440. while $node < descr.nnodes
  441. printf "Node %u:\n", $node
  442. printf "%u pending requests\n", data_requests_npending[$node]
  443. set $request = data_requests_pending[$node]._head
  444. while $request != 0
  445. printf " Request %p: handle %p ", $request, $request->handle
  446. starpu-print-mode $request->mode
  447. printf "\n"
  448. set $request = $request->_next
  449. end
  450. set $node = $node + 1
  451. end
  452. end
  453. define starpu-print-arch
  454. set $arch = (struct starpu_perfmodel_arch *)$arg0
  455. set $device = 0
  456. while $device < $arch->ndevices
  457. printf " Device type %d - devid: %d - ncores: %d\n", $arch->devices[$device].type, $arch->devices[$device].devid, $arch->devices[$device].ncores
  458. set $device = $device + 1
  459. end
  460. end
  461. define starpu-print-archs
  462. set $comb = 0
  463. while $comb < current_arch_comb
  464. printf "Combination %d with %d devices\n", $comb, arch_combs[$comb]->ndevices
  465. starpu-print-arch arch_combs[$comb]
  466. set $comb = $comb + 1
  467. end
  468. end
  469. define starpu-print-frequests
  470. set $node = 0
  471. while $node < descr.nnodes
  472. printf "Node %u:\n", $node
  473. set $request = prefetch_requests[$node]._head
  474. while $request != 0
  475. printf " Request %p: handle %p ", $request, $request->handle
  476. starpu-print-mode $request->mode
  477. printf "\n"
  478. set $request = $request->_next
  479. end
  480. set $node = $node + 1
  481. end
  482. end
  483. define starpu-memusage
  484. set scheduler-locking on
  485. set $node = 0
  486. while $node < descr.nnodes
  487. printf "\n\nNode %u:\n", $node
  488. set $total = 0
  489. set $total_b = 0
  490. set $wt = 0
  491. set $wt_b = 0
  492. set $home = 0
  493. set $home_b = 0
  494. set $redux = 0
  495. set $redux_b = 0
  496. set $relax = 0
  497. set $relax_b = 0
  498. set $noref = 0
  499. set $noref_b = 0
  500. set $nodataref = 0
  501. set $nodataref_b = 0
  502. set $nosubdataref = 0
  503. set $nosubdataref_b = 0
  504. set $mc = mc_list[$node]->_head
  505. while $mc != 0
  506. set $handle = $mc->data
  507. set $size = _starpu_data_get_size($handle)
  508. set $total = $total + 1
  509. set $total_b = $total_b + $size
  510. if $handle->wt_mask & (1 << $node)
  511. set $wt = $wt + 1
  512. set $wt_b = $wt_b + $size
  513. end
  514. if $node == $handle->home_node
  515. set $home = $home + 1
  516. set $home_b = $home_b + $size
  517. end
  518. if $mc->relaxed_coherency == 2
  519. set $redux = $redux + 1
  520. set $redux_b = $redux_b + $size
  521. end
  522. if $mc->relaxed_coherency == 1
  523. set $relax = $relax + 1
  524. set $relax_b = $relax_b + $size
  525. if $mc->replicate
  526. if $mc->replicate->refcnt == 0
  527. set $noref = $noref + 1
  528. set $noref_b = $noref_b + $size
  529. end
  530. end
  531. end
  532. if $mc->relaxed_coherency == 0
  533. if (may_free_subtree($handle,$node))
  534. set $nosubdataref = $nosubdataref + 1
  535. set $nosubdataref_b = $nosubdataref_b + $size
  536. end
  537. if $handle->per_node[$node].refcnt == 0
  538. set $nodataref = $nodataref + 1
  539. set $nodataref_b = $nodataref_b + $size
  540. end
  541. end
  542. set $mc = $mc->_next
  543. end
  544. printf " Total used: %u, %uMiB\n", $total, $total_b / 1048576
  545. printf " WT: %u, %uMiB\n", $wt, $wt_b / 1048576
  546. printf " home: %u, %uMiB\n", $home, $home_b / 1048576
  547. printf " redux: %u, %uMiB\n", $redux, $redux_b / 1048576
  548. printf " relax: %u, %uMiB\n", $relax, $relax_b / 1048576
  549. printf " noref: %u, %uMiB\n", $noref, $noref_b / 1048576
  550. printf " nosubdataref: %u, %uMiB\n", $nosubdataref, $nosubdataref_b / 1048576
  551. printf " nodataref: %u, %uMiB\n", $nodataref, $nodataref_b / 1048576
  552. printf "\n cached: %u, %uMiB\n", mc_cache_nb[$node], mc_cache_size[$node] / 1048576
  553. set $node = $node + 1
  554. end
  555. end
  556. define starpu-print-model
  557. set $model = (struct starpu_perfmodel *)$arg0
  558. printf "Model %p type %d symbol ", $model, $model->type
  559. if $model->symbol
  560. printf "%s", $model->symbol
  561. else
  562. printf "NULL"
  563. end
  564. printf "\n"
  565. end
  566. define starpu-print-registered-models
  567. set $node = registered_models
  568. while $node
  569. starpu-print-model $node->model
  570. set $node = $node->next
  571. end
  572. end
  573. document starpu
  574. List of StarPU-specific gdb functions:
  575. starpu-workers prints a list of the StarPU workers
  576. starpu-tasks-on-workers prints a list of the tasks currently running on workers
  577. starpu-tasks-on-worker prints a list of the tasks running on the given worker
  578. starpu-print-job prints a StarPU job
  579. starpu-print-task prints a StarPU task
  580. starpu-print-data prints a StarPU data handle
  581. starpu-print-datas prints all StarPU data handles
  582. starpu-print-datas-summary prints a summary of data handles
  583. starpu-print-request prints a StarPU data request
  584. starpu-print-requests prints all StarPU data requests
  585. starpu-print-prequests prints all pending StarPU data requests
  586. starpu-print-frequests prints all StarPU prefetch data requests
  587. starpu-tasks prints a list of the tasks flowing in StarPU
  588. starpu-tags prints a list of the tags known to StarPU
  589. starpu-memusage prints the memory node usage
  590. starpu-print-archs prints all known arch combinations
  591. starpu-print-arch prints a given arch combination
  592. starpu-print-registered-models prints all registered performance models
  593. starpu-print-model prints a given performance model
  594. end