mbed-os-examples
/
mbed-os-example-mbed5-thread-statistics
Example usage of the mbed_stats_thread_get_each API.
Diff: main.cpp
- Revision:
- 15:6bca4e2b1a14
- Parent:
- 0:25c062a4a1e6
--- a/main.cpp Mon Nov 19 21:30:49 2018 +0000 +++ b/main.cpp Thu Nov 29 16:15:43 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_THREAD_STATS_ENABLED)