aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/monobench.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/monobench.cpp b/tools/monobench.cpp
index 757e9d38a3..88a6cce37c 100644
--- a/tools/monobench.cpp
+++ b/tools/monobench.cpp
@@ -7,6 +7,7 @@
#include "Benchmark.h"
#include "SkGraphics.h"
+#include "SkTaskGroup.h"
#include <algorithm>
#include <chrono>
#include <regex>
@@ -16,6 +17,7 @@
int main(int argc, char** argv) {
SkGraphics::Init();
+ SkTaskGroup::Enabler enabled;
using clock = std::chrono::high_resolution_clock;
using ns = std::chrono::duration<double, std::nano>;