Benchmarking Library

This page captures the documentation about the NvPlayfair benchmarking helper library.

NvPlayfair benchmarking library provides helper methods to DRIVE OS benchmarks to facilitate various benchmarking related operations such as timestamping, data recording, rate-limiting and report generation.

In DRIVE OS SDKs, the following components are provided for the benchmarking library:

  • nvplayfair.h: The header file contains definitions of the public interfaces and data-structures of the benchmarking library. It can facilitate recompilation of benchmarks in the SDK which make use of the library. The header file is present in the "include" folder in the SDK installation directory.
  • libnvplayfair.so: The library itself is distributed as a compiled shared object file. It is present in the "lib-target" folder in the SDK installation directory and it is automatically copied to the "/usr/lib" location in the target filesystem during flashing.
Note:

Specific Instructions for DRIVE QNX (Standard / Safety) SDK

In DRIVE QNX SDKs (both standard and safety version), the NvPlayfair library components are provided in a standalone debian package. Users of SDK must install the package after installing the SDK; to use the library or to run benchmarks which make use of the library:

<After installing the SDK / PDK and in the same shell>
sudo -E apt install <SDK-PKG-DIRECTORY>/public/nv-driveos-qnx-<safety/standard>-nvplayfair-6.0.<x.x>-<subversion>.deb