Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 66 lines (47 sloc) 1.635 kb
9f75685 @poelzi updates to documentation
authored
1 -- this file is for documentation purpuses only
2 --! @file ulatency.lua
3 --! This file documents the 'ulatency' table which is implemented in the core
4 --!
5
6
7
8 --! @brief u_proc class
9 u_proc = {}
10
029f0c5 @poelzi implement io prio settings for processes
authored
11
12 --! @brief return io prio and class
13 function u_proc:get_ioprio()
14 return prio, class
15 end
16
17 --! @brief sets io prio
18 function u_proc:set_ioprio(prio, class)
19 end
20
21
9f75685 @poelzi updates to documentation
authored
22 --! @brief parent of process
23 --! @return u_proc instance or nil
24 function u_proc:get_parent()
25 end
26
27
28 ulatency = {}
29
30 ulatency.version="VERSION"
31 ulatency.release_agent = "/PATH/TO/RELEASEAGENT"
32 ulatency.path_rules_directory = "/PATH/TO/RULES"
33 ulatency.path_config_directory = "/PATH/TO/CONFIG"
34
35 ulatency.smp_num_cpus = 23
36
37 // glib log level
38 ulatency.LOG_LEVEL_ERROR = G_LOG_LEVEL_ERROR
39 ulatency.LOG_LEVEL_CRITICAL = G_LOG_LEVEL_CRITICAL
40 ulatency.LOG_LEVEL_WARNING = G_LOG_LEVEL_WARNING
41 ulatency.LOG_LEVEL_MESSAGE = G_LOG_LEVEL_MESSAGE
42 ulatency.LOG_LEVEL_INFO = G_LOG_LEVEL_INFO
43 ulatency.LOG_LEVEL_DEBUG = G_LOG_LEVEL_DEBUG
44 ulatency.LOG_LEVEL_SCHED = U_LOG_LEVEL_SCHED
45 ulatency.LOG_LEVEL_TRACE = U_LOG_LEVEL_TRACE
46
47 ulatency.FILTER_STOP = FILTER_STOP
48 ulatency.FILTER_SKIP_CHILD = FILTER_SKIP_CHILD
49
50 ulatency.IOPRIO_CLASS_NONE = IOPRIO_CLASS_NONE
51 ulatency.IOPRIO_CLASS_RT = IOPRIO_CLASS_RT
52 ulatency.IOPRIO_CLASS_BE = IOPRIO_CLASS_BE
53 ulatency.IOPRIO_CLASS_IDLE = IOPRIO_CLASS_IDLE
54
55 // realtime priority stuff
56 ulatency.SCHED_OTHER = SCHED_OTHER
57 ulatency.SCHED_FIFO = SCHED_FIFO
58 ulatency.SCHED_RR = SCHED_RR
59 ulatency.SCHED_BATCH = SCHED_BATCH
60 ulatency.SCHED_IDLE = SCHED_IDLE
61
62 ulatency.UPROC_NEW = UPROC_NEW
63 ulatency.UPROC_INVALID = UPROC_INVALID
64 ulatency.UPROC_ALIVE = UPROC_ALIVE
65
Something went wrong with that request. Please try again.