summaryrefslogtreecommitdiff
path: root/cpusched.h
blob: 3af82810c07ab593f581c6576b5c987794a293da (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef CPUSCHED_H
#define CPUSCHED_H

extern void init_cpusched(unsigned int cpus);
extern unsigned int socket_to_cpu(int fd);
extern unsigned int register_socket(int fd);
extern void unregister_socket(int fd);
extern void destroy_cpusched(void);

#endif /* CPUSCHED_H */
nkja@linux.vnet.ibm.com>2016-05-18 13:26:25 +0200 committerPaolo Bonzini <pbonzini@redhat.com>2016-05-25 16:12:06 +0200 commitfabc712866435660f7fa1070e1fabe29eba5bc4c (patch) treeeeed15b77c036c628dc8620db627d22a88bbaeb3 parentf0cf040f842242d55744c2606e8b7177507fbbb0 (diff)
tools: kvm_stat: Add comments
A lot of the code works with the perf events about which only sparse documentation was available until 2012. Having that information now, we can clarify what is done in the code. Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat