File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ browser following below steps to plot the executed tasks as temporal sequences:
281281@li Step 2: launch the Chrome browser and open a tab with the url: chrome://tracing
282282@li Step 3: load the JSON file
283283
284- The resuling plot is like this:
284+ The resulting plot is like this:
285285
286286@image html images/timeline.png width=80%
287287
@@ -293,8 +293,8 @@ Users can also customize methods of observer to monitor the behavior of an execu
293293inheriting the tf::ExecutorObserverInterface class.
294294There are three methods users can customize: tf::ExecutorObserverInterface::set_up,
295295tf::ExecutorObserverInterface::on_entry and tf::ExecutorObserverInterface::on_exit.
296- The tf::ExecutorObserverInterface::set_up takes the number of threads in an executor as the input argument and
297- an executor calls this method once to prepare the observer after the observer is constructed.
296+ The tf::ExecutorObserverInterface::set_up is to prepare the observer and it takes the number of threads in an executor
297+ as the input argument. An executor calls this method once immediately after the observer is constructed.
298298A thread will call the tf::ExecutorObserverInterface::on_entry and tf::ExecutorObserverInterface::on_exit methods respectively
299299before and after executing a task, and both methods take the thread id as input argument. Notice that the
300300tf::ExecutorObserverInterface::on_entry and tf::ExecutorObserverInterface::on_exit can be invoked by multiple
You can’t perform that action at this time.
0 commit comments