sdk/sdk.go
func RecordCPUUsage(userTimeSecs, cpuUsagePerc float64) (int, error) {
	return errNo(C.newrelic_record_cpu_usage(C.double(userTimeSecs), C.double(cpuUsagePerc)))
}
func RecordCPUUsage(userTimeSecs, cpuUsagePerc float64) (int, error) {
	return errNo(C.newrelic_record_cpu_usage(C.double(userTimeSecs), C.double(cpuUsagePerc)))
}
/*
 * Record CPU user time in seconds and as a percentage of CPU capacity.
 *
 * @param cpu_user_time_seconds  number of seconds CPU spent processing user-level code
 * @param cpu_usage_percent  CPU user time as a percentage of CPU capacity
 * @return  0 on success, else negative warning code or error code
 */