1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright(c) 2021 Intel Corporation 3 */ 4 5 #include "rte_power_intrinsics.h" 6 7 /** 8 * This function is not supported on ARM. 9 */ 10 int 11 rte_power_monitor(const struct rte_power_monitor_cond *pmc, 12 const uint64_t tsc_timestamp) 13 { 14 RTE_SET_USED(pmc); 15 RTE_SET_USED(tsc_timestamp); 16 17 return -ENOTSUP; 18 } 19 20 /** 21 * This function is not supported on ARM. 22 */ 23 int 24 rte_power_pause(const uint64_t tsc_timestamp) 25 { 26 RTE_SET_USED(tsc_timestamp); 27 28 return -ENOTSUP; 29 } 30 31 /** 32 * This function is not supported on ARM. 33 */ 34 int 35 rte_power_monitor_wakeup(const unsigned int lcore_id) 36 { 37 RTE_SET_USED(lcore_id); 38 39 return -ENOTSUP; 40 } 41 42 int 43 rte_power_monitor_multi(const struct rte_power_monitor_cond pmc[], 44 const uint32_t num, const uint64_t tsc_timestamp) 45 { 46 RTE_SET_USED(pmc); 47 RTE_SET_USED(num); 48 RTE_SET_USED(tsc_timestamp); 49 50 return -ENOTSUP; 51 } 52