Pau Espin Pedrol | eb6882f | 2020-07-28 11:57:51 +0200 | [diff] [blame] | 1 | /*! \file cpu_sched_vty.h |
| 2 | * API to CPU / Threading / Scheduler properties from VTY configuration. |
| 3 | */ |
| 4 | /* (C) 2020 by sysmocom - s.f.m.c. GmbH <info@sysmocom.de> |
| 5 | * |
| 6 | * Author: Pau Espin Pedrol <pespin@sysmocom.de> |
| 7 | * |
| 8 | * All Rights Reserved |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation; either version 2 of the License, or |
| 13 | * (at your option) any later version. |
| 14 | * |
| 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 22 | * |
| 23 | * SPDX-License-Identifier: GPL-2.0+ |
| 24 | */ |
| 25 | #pragma once |
| 26 | |
| 27 | #include <osmocom/vty/command.h> |
| 28 | |
| 29 | /*! \defgroup cpu_sched_VTY Configuration |
| 30 | * @{ |
| 31 | * \file cpu_sched_vty.h |
| 32 | */ |
| 33 | |
| 34 | void osmo_cpu_sched_vty_init(void *tall_ctx); |
| 35 | int osmo_cpu_sched_vty_apply_localthread(void); |
| 36 | |
| 37 | /*! @} */ |