slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
命名空间 | 类型定义 | 函数 | 变量
Benchmark.cpp 文件参考
#include <chrono>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <thread>
#include <benchmark/Benchmark.h>
#include <benchmark/TreeDeserialization.h>
#include <capture/CaptureTree.h>
#include <nlohmann/json.hpp>
Benchmark.cpp 的引用(Include)关系图:

命名空间

namespace  facebook
 
namespace  facebook::yoga
 

类型定义

using facebook::yoga::SteadyClockDurations
 

函数

static bool facebook::yoga::inputsMatch (float actualWidth, float expectedWidth, float actualHeight, float expectedHeight, YGMeasureMode actualWidthMode, YGMeasureMode expectedWidthMode, YGMeasureMode actualHeightMode, YGMeasureMode expectedHeightMode)
 
YGSize facebook::yoga::defaultMeasureFunctionResult ()
 
YGSize facebook::yoga::mockMeasureFunc (YGNodeConstRef node, float availableWidth, YGMeasureMode widthMode, float availableHeight, YGMeasureMode heightMode)
 
std::shared_ptr< const YGConfigfacebook::yoga::buildConfigFromJson (const json &j)
 
std::string facebook::yoga::edgeStringFromPropertyName (const std::string &key, const std::string &propertyName)
 
void facebook::yoga::setStylesFromJson (const json &j, YGNodeRef node)
 
std::shared_ptr< YGNodefacebook::yoga::buildNodeFromJson (const json &j, std::shared_ptr< const YGConfig > config, std::shared_ptr< SerializedMeasureFuncMap > fns)
 
std::shared_ptr< YogaNodeAndConfigfacebook::yoga::buildTreeFromJson (const json &j, std::shared_ptr< SerializedMeasureFuncMap > fns, std::shared_ptr< YogaNodeAndConfig > parent, size_t index)
 
BenchmarkResult facebook::yoga::generateBenchmark (json &capture)
 
static void facebook::yoga::printBenchmarkResult (const std::string &name, SteadyClockDurations &durations)
 
void facebook::yoga::benchmark (std::filesystem::path &capturesDir)
 
int main (int argc, char *argv[])
 

变量

constexpr uint32_t facebook::yoga::kNumRepetitions = 100
 

函数说明

◆ main()

int main ( int argc,
char * argv[] )
函数调用图: