projects
/
platform
/
core
/
system
/
pass.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e7076
)
pass: resmon: Add RESMON_TIMER_UNKNOWN enum
04/289704/1
author
Chanwoo Choi
<cw00.choi@samsung.com>
Wed, 8 Mar 2023 21:01:48 +0000
(06:01 +0900)
committer
Chanwoo Choi
<cw00.choi@samsung.com>
Mon, 13 Mar 2023 21:05:22 +0000
(06:05 +0900)
In order to test the invalid case of pass-resmon unittest,
add RESMON_TIMER_UNKNOWN enum.
Change-Id: I64d3f21fb6a7ee95c250d134b75310d105cd6f48
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/pass/pass-resmon.h
patch
|
blob
|
history
diff --git
a/src/pass/pass-resmon.h
b/src/pass/pass-resmon.h
index
f6c88e4
..
99d3984
100644
(file)
--- a/
src/pass/pass-resmon.h
+++ b/
src/pass/pass-resmon.h
@@
-43,6
+43,8
@@
* @breif Represents the type of timer-based resource monitor.
*/
enum resmon_timer_type {
+ /** Unknown timer type */
+ RESMON_TIMER_UNKNOWN = 0,
/** Periodic timer with the regular interval */
RESMON_TIMER_PERIODIC = 1,
/** Oneshot timer after the interval */