Share this page

# Example: lr_user_data_point

In the following example, a user data point is defined that checks the CPU every second and records the result.

    for (i=0;i<100;i++) {
        measure_cpu( );
        cpu_val=cpu_check();
       lr_user_data_point("cpu", cpu_val);
        sleep(1);
    }

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: