diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-09-04 07:50:13 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-04 07:50:13 +0000 |
| commit | 7506bd8ae0ba335fc058c2138438fab5f20f6dab (patch) | |
| tree | fe65b335b19171370bd6be0bd5cd6b776a1d6110 /src/cyccnt.rs | |
| parent | c5e6d1fa49e3596227a8ee8fe89e2e4f66db3169 (diff) | |
| parent | ad2b80907899cc335edcebfc77ae4b4b51272b87 (diff) | |
Merge #355
355: Multi-core removal r=korken89 a=AfoHT
Dependent on https://github.com/rtic-rs/rtic-syntax/pull/27
With the same reasoning as ^^
For now the testing is done against my rtic-syntax/multiremove-branch, but before we merge it should corrected.
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
Diffstat (limited to 'src/cyccnt.rs')
| -rw-r--r-- | src/cyccnt.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cyccnt.rs b/src/cyccnt.rs index 6bc2ef0..8e07b00 100644 --- a/src/cyccnt.rs +++ b/src/cyccnt.rs @@ -19,10 +19,6 @@ use crate::Fraction; /// Adding or subtracting a `Duration` of more than `(1 << 31)` cycles to an `Instant` effectively /// makes it "wrap around" and creates an incorrect value. This is also true if the operation is /// done in steps, e.g. `(instant + dur) + dur` where `dur` is `(1 << 30)` ticks. -/// -/// In multi-core contexts: this value is tied to the CYCCNT of *one* core so sending it a different -/// core makes it lose its meaning -- each Cortex-M core has its own CYCCNT counter and these are -/// usually unsynchronized and may even be running at different frequencies. #[derive(Clone, Copy, Eq, PartialEq)] pub struct Instant { inner: i32, |
