Skip to content

Commit ec9559e

Browse files
updated dev
1 parent a1eb7c0 commit ec9559e

File tree

111 files changed

+1730
-446
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+1730
-446
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${TF_EXAMPLE_DIR})
113113
add_executable(simple ${TF_EXAMPLE_DIR}/simple.cpp)
114114
target_link_libraries(simple ${PROJECT_NAME} Threads::Threads)
115115

116+
add_executable(observer ${TF_EXAMPLE_DIR}/observer.cpp)
117+
target_link_libraries(observer ${PROJECT_NAME} Threads::Threads)
118+
116119
add_executable(subflow ${TF_EXAMPLE_DIR}/subflow.cpp)
117120
target_link_libraries(subflow ${PROJECT_NAME} Threads::Threads)
118121

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,7 @@ The folder `example/` contains several examples and is a great place to learn to
874874
| [subflow.cpp](./example/subflow.cpp)| demonstrates how to create a subflow graph that spawns three dynamic tasks |
875875
| [run_variants.cpp](./example/run_variants.cpp)| shows multiple ways to run a taskflow graph |
876876
| [composition.cpp](./example/composition.cpp)| demonstrates the decomposable interface of taskflow |
877+
| [observer.cpp](./example/observer.cpp)| demonstrates how to monitor the thread activities in scheduling and running tasks |
877878

878879
# Get Involved
879880

docs/Releases.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
<div class="contents">
9898
<div class="textblock"><p>This page summarizes the release notes of Cpp-Taskflow.</p>
9999
<p><a class="el" href="master-branch.html">Master Branch (GitHub)</a> <br />
100-
<a class="el" href="release-2-2-0.html">Release 2.2.0 (2019/05/16)</a> <br />
100+
<a class="el" href="release-2-2-0.html">Release 2.2.0 (soon)</a> <br />
101101
<a class="el" href="release-2-1-0.html">Release 2.1.0 (2019/02/15)</a> <br />
102102
<a class="el" href="release-2-0-0.html">Release 2.0.0 (2018/08/28)</a> <br />
103103
</p>

docs/Releases.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var Releases =
55
[ "Working Items", "master-branch.html#master-branch_new_features", null ],
66
[ "Bug Fixes", "master-branch.html#master-branch_bug_fixes", null ]
77
] ],
8-
[ "Release 2.2.0 (2019/05/16)", "release-2-2-0.html", [
8+
[ "Release 2.2.0 (soon)", "release-2-2-0.html", [
99
[ "Download", "release-2-2-0.html#release-2-2-0_download", null ],
1010
[ "New Features", "release-2-2-0.html#release-2-2-0_new_features", null ],
1111
[ "Breaks and Deprecated Features", "release-2-2-0.html#release-2-2-0_breaks_and_deprecated_features", null ]

docs/annotated.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,14 @@
100100
<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">&#9660;</span><span class="icona"><span class="icon">N</span></span><b>tf</b></td><td class="desc"></td></tr>
101101
<tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structtf_1_1Error.html" target="_self">Error</a></td><td class="desc">The error category of taskflow </td></tr>
102102
<tr id="row_0_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtf_1_1Executor.html" target="_self">Executor</a></td><td class="desc">The executor class to run a taskflow graph </td></tr>
103-
<tr id="row_0_2_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtf_1_1ExecutorObserver.html" target="_self">ExecutorObserver</a></td><td class="desc">A default executor observer to dump the execution timelines </td></tr>
103+
<tr id="row_0_2_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtf_1_1ExecutorObserver.html" target="_self">ExecutorObserver</a></td><td class="desc">Default executor observer to dump the execution timelines </td></tr>
104104
<tr id="row_0_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtf_1_1ExecutorObserverInterface.html" target="_self">ExecutorObserverInterface</a></td><td class="desc">The interface class for creating an executor observer </td></tr>
105105
<tr id="row_0_4_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtf_1_1FlowBuilder.html" target="_self">FlowBuilder</a></td><td class="desc">Building blocks of a task dependency graph </td></tr>
106106
<tr id="row_0_5_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtf_1_1Subflow.html" target="_self">Subflow</a></td><td class="desc">The building blocks of dynamic tasking </td></tr>
107107
<tr id="row_0_6_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtf_1_1Task.html" target="_self">Task</a></td><td class="desc">Handle to modify and access a task </td></tr>
108108
<tr id="row_0_7_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtf_1_1Taskflow.html" target="_self">Taskflow</a></td><td class="desc">Class to create a task dependency graph </td></tr>
109-
<tr id="row_0_8_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtf_1_1WorkStealingQueue.html" target="_self">WorkStealingQueue</a></td><td class="desc">Lock-free unbounded single-producer multiple-consumer queue </td></tr>
109+
<tr id="row_0_8_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtf_1_1TaskView.html" target="_self">TaskView</a></td><td class="desc">A constant wrapper class to a task node, mainly used in the <a class="el" href="classtf_1_1ExecutorObserver.html" title="Default executor observer to dump the execution timelines. ">tf::ExecutorObserver</a> interface </td></tr>
110+
<tr id="row_0_9_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtf_1_1WorkStealingQueue.html" target="_self">WorkStealingQueue</a></td><td class="desc">Lock-free unbounded single-producer multiple-consumer queue </td></tr>
110111
</table>
111112
</div><!-- directory -->
112113
</div><!-- contents -->

docs/annotated_dup.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ var annotated_dup =
99
[ "Subflow", "classtf_1_1Subflow.html", "classtf_1_1Subflow" ],
1010
[ "Task", "classtf_1_1Task.html", "classtf_1_1Task" ],
1111
[ "Taskflow", "classtf_1_1Taskflow.html", "classtf_1_1Taskflow" ],
12+
[ "TaskView", "classtf_1_1TaskView.html", "classtf_1_1TaskView" ],
1213
[ "WorkStealingQueue", "classtf_1_1WorkStealingQueue.html", "classtf_1_1WorkStealingQueue" ]
1314
] ]
1415
];

0 commit comments

Comments
 (0)