pass: resmon: Add RESMON_TIMER_UNKNOWN enum 04/289704/1
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 8 Mar 2023 21:01:48 +0000 (06:01 +0900)
committerChanwoo 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

index f6c88e4..99d3984 100644 (file)
@@ -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 */