mbed-os-examples
/
mbed-os-example-mbed5-cpu-stats
Example to demonstrate usage of `mbed_stats_cpu_get()` API usage
Diff: main.cpp
- Revision:
- 15:86c93f5d67c4
- Parent:
- 0:3114f82feb68
- Child:
- 18:86a8fc778472
--- a/main.cpp Mon Nov 19 21:30:35 2018 +0000 +++ b/main.cpp Thu Nov 29 16:15:33 2018 +0000 @@ -1,3 +1,19 @@ +/* Copyright (c) 2018 Arm Limited +* +* SPDX-License-Identifier: Apache-2.0 +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ #include "mbed.h" #if !defined(MBED_CPU_STATS_ENABLED) || !defined(DEVICE_LPTICKER) || !defined(DEVICE_SLEEP)