/*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* @author Jordan DeLong <delong.j@fb.com>
*/
-#include <cinttypes>
-#include <ctime>
+#include <cstdint>
#include <folly/portability/Asm.h>
+#include <folly/portability/Time.h>
namespace folly {
uint32_t spinCount;
- public:
+ public:
Sleeper() : spinCount(0) {}
void wait() {