11/*
2- * SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved .
2+ * SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION.
33 * SPDX-License-Identifier: Apache-2.0
44 */
55
66#include < raft/mr/host_memory_resource.hpp>
77#include < raft/mr/notifying_adaptor.hpp>
8- #include < raft/mr/sampling_monitor .hpp>
8+ #include < raft/mr/resource_monitor .hpp>
99#include < raft/mr/statistics_adaptor.hpp>
1010
1111#include < gtest/gtest.h>
@@ -69,7 +69,7 @@ TEST(AllocationReport, WritesCSVOnDirty)
6969 using namespace std ::chrono_literals;
7070
7171 std::ostringstream oss;
72- raft::mr::sampling_monitor report (oss, 1ms);
72+ raft::mr::resource_monitor report (oss, 1ms);
7373
7474 auto host_stats = std::make_shared<raft::mr::resource_stats>();
7575 auto pinned_stats = std::make_shared<raft::mr::resource_stats>();
@@ -98,7 +98,7 @@ TEST(AllocationReport, StartStopIdempotent)
9898 using namespace std ::chrono_literals;
9999
100100 std::ostringstream oss;
101- raft::mr::sampling_monitor report (oss, 1ms);
101+ raft::mr::resource_monitor report (oss, 1ms);
102102
103103 auto stats = std::make_shared<raft::mr::resource_stats>();
104104 report.register_source (" test" , stats);
@@ -124,7 +124,7 @@ TEST(AllocationReport, DestructorCallsStop)
124124 std::ostringstream oss;
125125 {
126126 auto stats = std::make_shared<raft::mr::resource_stats>();
127- raft::mr::sampling_monitor report (oss, 1ms);
127+ raft::mr::resource_monitor report (oss, 1ms);
128128 report.register_source (" test" , stats);
129129
130130 stats->record_allocate (256 );
0 commit comments