Lines Matching refs:marl
18 #include "marl/defer.h"
19 #include "marl/event.h"
20 #include "marl/scheduler.h"
21 #include "marl/waitgroup.h"
26 // Create a marl scheduler using the 4 hardware threads.
27 // Bind this scheduler to the main thread so we can call marl::schedule()
28 marl::Scheduler scheduler;
36 marl::Event sayHellow(marl::Event::Mode::Manual);
39 marl::WaitGroup saidHellow(numTasks);
44 marl::schedule([=] { // All marl primitives are capture-by-value.
75 cd <path-to-marl>
84 cd <path-to-marl>
91 The resulting binaries will be found in `<path-to-marl>/build`
101 set(MARL_DIR <path-to-marl>) # example <path-to-marl>: "${CMAKE_CURRENT_SOURCE_DIR}/third_party/mar…
105 This will define the `marl` library target, which you can pass to `target_link_libraries()`:
108 target_link_libraries(<target> marl) # replace <target> with the name of your project's target
111 You may also wish to specify your own paths to the third party libraries used by `marl`.
122 Graphs of several microbenchmarks can be found [here](https://google.github.io/marl/benchmarks).