Lines Matching refs:pm

99     pm::CollectorHAL *hal = aCollector->getHAL();
102 pm::SubMetric *networkLoadRx = new pm::SubMetric(strName + "/Load/Rx",
104 pm::SubMetric *networkLoadTx = new pm::SubMetric(strName + "/Load/Tx",
106 pm::SubMetric *networkLinkSpeed = new pm::SubMetric(strName + "/LinkSpeed",
110 pm::BaseMetric *networkSpeed = new pm::HostNetworkSpeed(hal, objptr, strName + "/LinkSpeed",
114 pm::BaseMetric *networkLoad = new pm::HostNetworkLoadRaw(hal, objptr, strName + "/Load",
119 aCollector->registerMetric(new pm::Metric(networkSpeed, networkLinkSpeed, 0));
120 aCollector->registerMetric(new pm::Metric(networkSpeed, networkLinkSpeed,
121 new pm::AggregateAvg()));
122 aCollector->registerMetric(new pm::Metric(networkSpeed, networkLinkSpeed,
123 new pm::AggregateMin()));
124 aCollector->registerMetric(new pm::Metric(networkSpeed, networkLinkSpeed,
125 new pm::AggregateMax()));
127 aCollector->registerMetric(new pm::Metric(networkLoad, networkLoadRx, 0));
128 aCollector->registerMetric(new pm::Metric(networkLoad, networkLoadRx,
129 new pm::AggregateAvg()));
130 aCollector->registerMetric(new pm::Metric(networkLoad, networkLoadRx,
131 new pm::AggregateMin()));
132 aCollector->registerMetric(new pm::Metric(networkLoad, networkLoadRx,
133 new pm::AggregateMax()));
135 aCollector->registerMetric(new pm::Metric(networkLoad, networkLoadTx, 0));
136 aCollector->registerMetric(new pm::Metric(networkLoad, networkLoadTx,
137 new pm::AggregateAvg()));
138 aCollector->registerMetric(new pm::Metric(networkLoad, networkLoadTx,
139 new pm::AggregateMin()));
140 aCollector->registerMetric(new pm::Metric(networkLoad, networkLoadTx,
141 new pm::AggregateMax()));