I want to show the parallel kernel status within a notebook, and not in the separate Parallel Kernel Status window.
How can I programmatically access the Performance Measurements data shown in the Status window?
Answer
To show the status inline within a notebook (and not a separate window), first trigger loading the parallel tools:
Parallelize;
The evaluate
Parallel`Developer`KernelStatus[]
If you need to know how each column in this table is computed, take a look at
<
PrintDefinitions["Parallel`Status`Private`remoteStatus"]
It is in fact TimeUsed
that's being reported.
Spelunking reference:
NotebookOpen@FindFile["Parallel`Status`"]
Comments
Post a Comment