-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
4,175 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
/* | ||
* Copyright (C) 2015-2021 Swift Navigation Inc. | ||
* Contact: https://support.swiftnav.com | ||
* | ||
* This source is subject to the license found in the file 'LICENSE' which must | ||
* be be distributed together with this source. All other rights reserved. | ||
* | ||
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, | ||
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED | ||
* WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. | ||
*/ | ||
|
||
/***************************************************************************** | ||
* Automatically generated from yaml/swiftnav/sbp/profiling.yaml | ||
* with generate.py. Please do not hand edit! | ||
*****************************************************************************/ | ||
|
||
/** \defgroup profiling Profiling | ||
* | ||
* Standardized profiling messages from Swift Navigation devices. | ||
* \{ */ | ||
|
||
#ifndef LIBSBP_LEGACY_PROFILING_MESSAGES_H | ||
#define LIBSBP_LEGACY_PROFILING_MESSAGES_H | ||
|
||
#include <libsbp/common.h> | ||
|
||
SBP_MESSAGE( | ||
"The legacy libsbp API has been deprecated. This file and all symbols " | ||
"contained will " | ||
"be removed in version 6. You should immediately switch over to the modern " | ||
"libsbp API.") | ||
|
||
#include <libsbp/profiling_macros.h> | ||
|
||
SBP_PACK_START | ||
|
||
/** Profiling Measurement Point | ||
* | ||
* Tracks execution time of certain code paths in specially built products. | ||
* This message should only be expected and processed on the direction of | ||
* Swift's engineering teams. | ||
*/ | ||
|
||
typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { | ||
u32 total_time; /**< Total time spent in measurement point */ | ||
u16 num_executions; /**< Number of times measurement point has executed */ | ||
u32 min; /**< Minimum execution time */ | ||
u32 max; /**< Maximum execution time */ | ||
u64 return_addr; /**< Return address */ | ||
u64 id; /**< Unique ID */ | ||
u64 slice_time; /**< CPU slice time */ | ||
u16 line; /**< Line number */ | ||
char func[0]; /**< Function name */ | ||
} msg_measurement_point_t; | ||
|
||
/** \} */ | ||
|
||
SBP_PACK_END | ||
|
||
#endif /* LIBSBP_LEGACY_PROFILING_MESSAGES_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Copyright (C) 2015-2021 Swift Navigation Inc. | ||
* Contact: https://support.swiftnav.com | ||
* | ||
* This source is subject to the license found in the file 'LICENSE' which must | ||
* be be distributed together with this source. All other rights reserved. | ||
* | ||
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, | ||
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED | ||
* WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. | ||
*/ | ||
|
||
/***************************************************************************** | ||
* Automatically generated from yaml/swiftnav/sbp/profiling.yaml | ||
* with generate.py. Please do not hand edit! | ||
*****************************************************************************/ | ||
|
||
#ifndef LIBSBP_V4_PROFILING_MESSAGES_H | ||
#define LIBSBP_V4_PROFILING_MESSAGES_H | ||
#include <libsbp/profiling/MSG_MEASUREMENT_POINT.h> | ||
|
||
#endif /* LIBSBP_V4_PROFILING_MESSAGES_H */ |
Oops, something went wrong.