More of the example
metric msgs {
name "Messages";
units opsPerSecond;
aggregateOperator sum;
flavor { pvm };
// the base computation of the metric.
base is counter {
foreach func in pvm_msg_func
append preInsn func.entry constrained
(* msgs++; *)
}
}
Previous slide
Next slide
Back to first slide
View graphic version