Home
last modified time | relevance | path

Searched refs:duration_ms (Results 1 – 7 of 7) sorted by relevance

/hardware/google/pixel/power-libperfmgr/utilities/
Dsendhint.cc93 const int32_t duration_ms) { in setBoost() argument
94 if (!hal->setBoost(type, duration_ms).isOk()) { in setBoost()
95 LOG(ERROR) << "Fail to set boost: " << type << " duration: " << duration_ms; in setBoost()
98 LOG(INFO) << "Set boost: " << type << " duration: " << duration_ms; in setBoost()
106 unsigned int duration_ms = 0; in main() local
125 duration_ms = std::stoi(optarg); in main()
152 if (!boost.empty() && !setBoost(powerext, boost, duration_ms)) { in main()
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/
DHintManager.h40 HintStats() : count(0), duration_ms(0) {} in HintStats()
42 uint64_t duration_ms; member
55 HintStatsInternal() : count(0), duration_ms(0) {} in HintStatsInternal()
57 std::atomic<uint64_t> duration_ms; member
/hardware/google/pixel/power-libperfmgr/libperfmgr/
DHintManager.cc101 actions_.at(hint_type).status->stats.duration_ms.fetch_add( in DoHintStatus()
118 actions_.at(hint_type).status->stats.duration_ms.fetch_add( in EndHintStatus()
225 hint_stats.duration_ms = in GetHintStats()
226 actions_.at(hint_type).status->stats.duration_ms.load(std::memory_order_relaxed); in GetHintStats()
255 hint_stats.count, hint_stats.duration_ms); in DumpToFd()
/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/
DHintManagerTest.cc305 EXPECT_GE(stats.duration_ms, duration_min); in _VerifyStats()
306 EXPECT_LT(stats.duration_ms, duration_max); in _VerifyStats()
329 EXPECT_EQ(0, launch_stats.duration_ms); in TEST_F()
332 EXPECT_EQ(0, interaction_stats.duration_ms); in TEST_F()
/hardware/google/pixel/pixelstats/
DStatsHelper.cpp226 tmp.set<VendorAtomValue::longValue>(usb_data_event.duration_ms()); in reportUsbDataSessionEvent()
Dpixelatoms.proto2101 optional int64 duration_ms = 5; field
/hardware/qcom/audio/hal/
Daudio_hw.c2743 static size_t get_stream_buffer_size(size_t duration_ms, in get_stream_buffer_size() argument
2752 : (sample_rate * duration_ms) / 1000; in get_stream_buffer_size()