aboutsummaryrefslogtreecommitdiff
path: root/lib/base/ioprio.h
blob: 498a473e2f2b65a201e3bbf59fdc58e39dadf955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __LIB_BASE_IOPRIO_H_
#define __LIB_BASE_IOPRIO_H_

void setIoPrio(int prio_class, int prio=7);
void printIoPrio();

enum {
	IOPRIO_CLASS_NONE,
	IOPRIO_CLASS_RT,
	IOPRIO_CLASS_BE,
	IOPRIO_CLASS_IDLE,
};

#endif // __LIB_BASE_IOPRIO_H_