This package provides a library that can be used to encode events into the format required by the operating systems performance monitoring subsystem.