|
EPICS Multi-Core Utilities
1.2.3-SNAPSHOT
Real-Time Utilities for EPICS IOCs on Multi-Core Linux
|
Add two new threadShow functions that show scheduling policy and CPU affinity. More...
Files | |
| file | threadShow.c |
| New threadShow showing real-time properties. | |
Functions | |
| epicsShareFunc void | mcoreThreadShowInit (void) |
| Initialization routine. More... | |
| epicsShareFunc void | mcoreThreadShow (epicsThreadId thread, unsigned int level) |
| iocShell: Show thread info for one thread. More... | |
| epicsShareFunc void | mcoreThreadShowAll (unsigned int level) |
| iocShell: Show thread info for all threads. More... | |
Add two new threadShow functions that show scheduling policy and CPU affinity.
Adds two new threadShow functions that, in addition to the properties shown by epicsThreadShow() and epicsThreadShowAll(), print the scheduling policy, and the CPU affinity of each thread.
Uses the epicsThreadMap() call to have a hook function being called for every thread, which prints out the thread properties.
| epicsShareFunc void mcoreThreadShow | ( | epicsThreadId | thread, |
| unsigned int | level | ||
| ) |
iocShell: Show thread info for one thread.
Sets the global thread and level variables, and calls the map function.
| thread | id of thread to show |
| level | verbosity level |
mcoreThreadShow thread level thread | thread name or id |
level | verbosity level |
iocShell: Show thread info for one thread.
Definition at line 122 of file threadShow.c.
| epicsShareFunc void mcoreThreadShowAll | ( | unsigned int | level | ) |
iocShell: Show thread info for all threads.
| level | verbosity level |
mcoreThreadShowAll level level | verbosity level |
iocShell: Show thread info for all threads.
Definition at line 136 of file threadShow.c.
| epicsShareFunc void mcoreThreadShowInit | ( | void | ) |
Initialization routine.
Must be called before using any of the other functions, which is done when registering the iocsh commands.
Definition at line 154 of file threadShow.c.