mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
b55e4dbb58
Summary: Add a ProcessAccessLog that supports cheaply tracking pids passed into FUSE. It's a write-many, read-maybe access pattern, so the code is careful to add as little latency as possible on the hot path. Reviewed By: strager Differential Revision: D9477839 fbshipit-source-id: 6928c1d09d55c2b0c0958ac2cb0dc91ec21b370c
17 lines
466 B
C++
17 lines
466 B
C++
/*
|
|
* Copyright (c) 2018-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*
|
|
*/
|
|
#include <folly/Benchmark.h>
|
|
#include <folly/init/Init.h>
|
|
|
|
int main(int argc, char** argv) {
|
|
folly::init(&argc, &argv);
|
|
folly::runBenchmarks();
|
|
}
|