File: test-libcpupower.c

package info (click to toggle)
rt-tests 2.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 948 kB
  • sloc: ansic: 13,273; python: 495; makefile: 237; sh: 158
file content (8 lines) | stat: -rw-r--r-- 132 bytes parent folder | download
1
2
3
4
5
6
7
8
// SPDX-License-Identifier: GPL-2.0-or-later
#include <cpuidle.h>

int main(void)
{
	int rv = cpuidle_state_count(0);
	return rv;
}