Singleton that manages parallel dot invocations and patching files for embedding image maps
更多...
Singleton that manages parallel dot invocations and patching files for embedding image maps
在文件 dot.h 第 31 行定义.
bool DotManager::run |
( |
| ) |
const |
在文件 dot.cpp 第 154 行定义.
158 if (numDotRuns+numFilePatchers>1)
162 msg(
"Generating dot graphs in single threaded mode...\n");
166 msg(
"Generating dot graphs using %zu parallel threads...\n",std::min(numDotRuns+numFilePatchers,
m_workers.size()));
199 msg(
"Running dot for graph %zu/%zu\n",prev,numDotRuns);
216 msg(
"Running dot for graph %zu/%zu\n",prev,numDotRuns);
221 while (numDotRuns>=prev)
223 msg(
"Running dot for graph %zu/%zu\n",prev,numDotRuns);
251 if (fp.second.isSVGFile())
253 msg(
"Patching output file %zu/%zu\n",i,numFilePatchers);
254 if (!fp.second.run())
return FALSE;
260 if (!fp.second.isSVGFile())
262 msg(
"Patching output file %zu/%zu\n",i,numFilePatchers);
263 if (!fp.second.run())
return FALSE;
引用了 Config_getBool, Config_getString, DotRunnerQueue::enqueue(), FALSE, m_filePatchers, m_queue, m_runners, m_workers, msg(), setDotFontPath(), DotRunnerQueue::size(), Portable::sleep(), Portable::sysTimerStart(), Portable::sysTimerStop(), TRUE , 以及 unsetDotFontPath().
被这些函数引用 generateOutput().