Stopping the Histogram

This document introduces how to stop a histogram.


This document describes the various APIs used to stop a Histogram.


Once a histogram is created, it has to be stopped and destroyed to release the buffer space.


The high level steps that can be used by a client to stop histogram are shown here:

  • Client sends StopHistogram() request to server to block histogram notifications from the server.

  • If more than one active histogram is present, deactivating one of them doesn’t stop other active histograms from getting the data.

To know the basic steps for creating Histogram object, refer to Creating Histograms .

The example code below illustrates how to stop a histogram: