memory.memorymonitorable - ICE 0.1 API documentation

ICE 0.1 API documentation

# memory.memorymonitorable

Monitorable used to view memory.

class MemoryMonitorable: monitor.monitorable.Monitorable;

  Used for monitoring manually allocated memory.

  Signal:
  package mixin Signal!(Statistics) sendStatistics
  Used to send statistics data to memory monitors.

  this();

    Construct a MemoryMonitorable.

  void update();

    Update and send monitoring data to monitor.

struct Statistics;

  Statistics passed by MemoryMonitorable to memory monitors.

  real manualMiB;

    Total manually allocated memory at the moment, in MiB.

Copyright © Ferdinand Majerech 2011. | Page generated by AutoDDoc and Ddoc.