Lines Matching refs:root
194 Json::Value root; in operator <<() local
196 root[CONFIG_BUILD_FINGERPRINT.first] = config.buildFingerprint; in operator <<()
197 root[CONFIG_COLLECTION_INTERVAL_SEC.first] = config.collectionInterval.count(); in operator <<()
198 root[CONFIG_SAMPLING_PERIOD_MS.first] = config.samplingPeriod.count(); in operator <<()
199 root[CONFIG_TRACE_OUTDIR.first] = config.traceOutputDir.c_str(); in operator <<()
200 root[CONFIG_PROFILE_OUTDIR.first] = config.profileOutputDir.c_str(); in operator <<()
201 root[CONFIG_BINARY_FILTER.first] = config.binaryFilter.c_str(); in operator <<()
202 writer->write(os, root); in operator <<()
207 Json::Value root; in operator >>() local
209 bool success = reader->parse(is, root); in operator >>()
214 config.buildFingerprint = root[CONFIG_BUILD_FINGERPRINT.first].asString(); in operator >>()
216 std::chrono::seconds(root[CONFIG_COLLECTION_INTERVAL_SEC.first].asInt64()); in operator >>()
218 std::chrono::duration<float>(root[CONFIG_SAMPLING_PERIOD_MS.first].asFloat()); in operator >>()
219 config.traceOutputDir = root[CONFIG_TRACE_OUTDIR.first].asString(); in operator >>()
220 config.profileOutputDir = root[CONFIG_PROFILE_OUTDIR.first].asString(); in operator >>()
221 config.binaryFilter = root[CONFIG_BINARY_FILTER.first].asString(); in operator >>()