forked from Imagelibrary/rtems
ascii: Remove non-ASCII characters
We will soon be enforcing ASCII-only characters for source.
This commit is contained in:
committed by
Kinsey Moore
parent
7a4a42d23b
commit
b714e4a809
@@ -930,7 +930,7 @@ Section 8 -- Interpretation.
|
|||||||
Creative Commons is not a party to its public
|
Creative Commons is not a party to its public
|
||||||
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
||||||
its public licenses to material it publishes and in those instances
|
its public licenses to material it publishes and in those instances
|
||||||
will be considered the “Licensor.” The text of the Creative Commons
|
will be considered the "Licensor." The text of the Creative Commons
|
||||||
public licenses is dedicated to the public domain under the CC0 Public
|
public licenses is dedicated to the public domain under the CC0 Public
|
||||||
Domain Dedication. Except for the limited purpose of indicating that
|
Domain Dedication. Except for the limited purpose of indicating that
|
||||||
material is shared under a Creative Commons public license or as
|
material is shared under a Creative Commons public license or as
|
||||||
@@ -1292,7 +1292,7 @@ or a subsequent breach of the same or a different provision.
|
|||||||
The files in this directory and elsewhere which refer to this LICENCE
|
The files in this directory and elsewhere which refer to this LICENCE
|
||||||
file are part of JFFS2, the Journalling Flash File System v2.
|
file are part of JFFS2, the Journalling Flash File System v2.
|
||||||
|
|
||||||
Copyright © 2001-2007 Red Hat, Inc. and others
|
Copyright (c) 2001-2007 Red Hat, Inc. and others
|
||||||
|
|
||||||
JFFS2 is free software; you can redistribute it and/or modify it under
|
JFFS2 is free software; you can redistribute it and/or modify it under
|
||||||
the terms of the GNU General Public License as published by the Free
|
the terms of the GNU General Public License as published by the Free
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ typedef volatile unsigned long vulong;
|
|||||||
#define USART3_BASE 0xFFFCC000
|
#define USART3_BASE 0xFFFCC000
|
||||||
/*
|
/*
|
||||||
* WARNING: The USART3_BASE at the AT91RM9200 Manual is wrong!!!
|
* WARNING: The USART3_BASE at the AT91RM9200 Manual is wrong!!!
|
||||||
* Manual revision: Rev. 1768H-ATARM–16-Jun-09
|
* Manual revision: Rev. 1768H-ATARM-16-Jun-09
|
||||||
* USART3_BASE is NOT 0xFFECC000
|
* USART3_BASE is NOT 0xFFECC000
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ typedef enum _dac12_fifo_trigger_mode
|
|||||||
* @brief DAC internal reference current source.
|
* @brief DAC internal reference current source.
|
||||||
*
|
*
|
||||||
* Analog module needs reference current to keep working . Such reference current can generated by IP itself, or by
|
* Analog module needs reference current to keep working . Such reference current can generated by IP itself, or by
|
||||||
* on-chip PMC's "reference part". If no current reference be selected, analog module can’t working normally ,even when
|
* on-chip PMC's "reference part". If no current reference be selected, analog module can't working normally ,even when
|
||||||
* other register can still be assigned, DAC would waste current but no function.
|
* other register can still be assigned, DAC would waste current but no function.
|
||||||
* To make the DAC work, either kDAC12_ReferenceCurrentSourceAltx should be selected.
|
* To make the DAC work, either kDAC12_ReferenceCurrentSourceAltx should be selected.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ typedef enum _semc_ipcmd_nand_addrmode
|
|||||||
kSEMC_NANDAM_RawRA0RA1RA2 /*!< Address mode: row address only(3 Byte-RA0). */
|
kSEMC_NANDAM_RawRA0RA1RA2 /*!< Address mode: row address only(3 Byte-RA0). */
|
||||||
} semc_ipcmd_nand_addrmode_t;
|
} semc_ipcmd_nand_addrmode_t;
|
||||||
|
|
||||||
/*! @brief SEMC IP command for NAND: command mode. */
|
/*! @brief SEMC IP command for NAND: command mode. */
|
||||||
typedef enum _semc_ipcmd_nand_cmdmode
|
typedef enum _semc_ipcmd_nand_cmdmode
|
||||||
{
|
{
|
||||||
kSEMC_NANDCM_Command = 0x2U, /*!< command. */
|
kSEMC_NANDCM_Command = 0x2U, /*!< command. */
|
||||||
|
|||||||
6
bsps/arm/shared/cache/cache-l2c-310.c
vendored
6
bsps/arm/shared/cache/cache-l2c-310.c
vendored
@@ -784,12 +784,12 @@ static void l2c_310_check_errata( uint32_t rtl_release )
|
|||||||
|
|
||||||
assert( 0 == ( l2cc->aux_ctrl & L2C_310_AUX_HPSODRE_MASK ) );
|
assert( 0 == ( l2cc->aux_ctrl & L2C_310_AUX_HPSODRE_MASK ) );
|
||||||
|
|
||||||
/* Erratum: 729815 The “High Priority for SO and Dev reads” feature can
|
/* Erratum: 729815 The "High Priority for SO and Dev reads" feature can
|
||||||
* cause Quality of Service issues to cacheable read transactions*/
|
* cause Quality of Service issues to cacheable read transactions*/
|
||||||
|
|
||||||
/* Conditions
|
/* Conditions
|
||||||
This problem occurs when the following conditions are met:
|
This problem occurs when the following conditions are met:
|
||||||
1. Bit[10] “High Priority for SO and Dev reads enable” of the PL310
|
1. Bit[10] "High Priority for SO and Dev reads enable" of the PL310
|
||||||
Auxiliary Control Register is set to 1.
|
Auxiliary Control Register is set to 1.
|
||||||
2. PL310 receives a cacheable read that misses in the L2 cache.
|
2. PL310 receives a cacheable read that misses in the L2 cache.
|
||||||
3. PL310 receives a continuous flow of Strongly Ordered or Device
|
3. PL310 receives a continuous flow of Strongly Ordered or Device
|
||||||
@@ -797,7 +797,7 @@ static void l2c_310_check_errata( uint32_t rtl_release )
|
|||||||
Workaround
|
Workaround
|
||||||
A workaround is only necessary in systems that are able to issue a
|
A workaround is only necessary in systems that are able to issue a
|
||||||
continuous flow of Strongly Ordered or Device reads. In such a case,
|
continuous flow of Strongly Ordered or Device reads. In such a case,
|
||||||
the workaround is to disable the “High Priority for SO and Dev reads”
|
the workaround is to disable the "High Priority for SO and Dev reads"
|
||||||
feature. This is the default behavior.*/
|
feature. This is the default behavior.*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -391,7 +391,7 @@ extern "C" {
|
|||||||
#if defined (STM32H742xx) || defined (STM32H743xx) || defined (STM32H753xx)
|
#if defined (STM32H742xx) || defined (STM32H743xx) || defined (STM32H753xx)
|
||||||
#define TEMPSENSOR_CAL2_TEMP ((((DBGMCU->IDCODE) >> 16) <= ((uint32_t)0x1003)) ? 110L : 130L) /* Internal temperature sensor ,
|
#define TEMPSENSOR_CAL2_TEMP ((((DBGMCU->IDCODE) >> 16) <= ((uint32_t)0x1003)) ? 110L : 130L) /* Internal temperature sensor ,
|
||||||
temperature at which temperature sensor has been calibrated in production for data into TEMPSENSOR_CAL2_ADDR
|
temperature at which temperature sensor has been calibrated in production for data into TEMPSENSOR_CAL2_ADDR
|
||||||
110 °C for revision Y and 130 °C for revision V (tolerance: +-5 DegC) (unit: DegC). */
|
110 DegC for revision Y and 130 DegC for revision V (tolerance: +-5 DegC) (unit: DegC). */
|
||||||
#else
|
#else
|
||||||
#define TEMPSENSOR_CAL2_TEMP (110L) /* Internal temperature sensor, temperature at which temperature sensor has been
|
#define TEMPSENSOR_CAL2_TEMP (110L) /* Internal temperature sensor, temperature at which temperature sensor has been
|
||||||
calibrated in production for data into TEMPSENSOR_CAL2_ADDR (tolerance: +-5 DegC) (unit: DegC). */
|
calibrated in production for data into TEMPSENSOR_CAL2_ADDR (tolerance: +-5 DegC) (unit: DegC). */
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/* SPDX-License-Identifier: BSD-2-Clause */
|
/* SPDX-License-Identifier: BSD-2-Clause */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2020 Jan Sommer, Deutsches Zentrum für Luft- und Raumfahrt e. V. (DLR)
|
* Copyright (C) 2020 Jan Sommer, Deutsches Zentrum fur Luft- und Raumfahrt e. V. (DLR)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ typedef struct {
|
|||||||
uint32_t child_bus;
|
uint32_t child_bus;
|
||||||
/** The physical address within the parent bus address space */
|
/** The physical address within the parent bus address space */
|
||||||
uint32_t parent_bus;
|
uint32_t parent_bus;
|
||||||
/** The size of the range in the child’s address space */
|
/** The size of the range in the child's address space */
|
||||||
uint32_t size;
|
uint32_t size;
|
||||||
} rtems_ofw_ranges;
|
} rtems_ofw_ranges;
|
||||||
|
|
||||||
|
|||||||
2
bsps/or1k/shared/cache/cache.c
vendored
2
bsps/or1k/shared/cache/cache.c
vendored
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 2014, 2016 ÅAC Microtec AB <www.aacmicrotec.com>
|
* COPYRIGHT (c) 2014, 2016 AAC Microtec AB <www.aacmicrotec.com>
|
||||||
* Contributor(s):
|
* Contributor(s):
|
||||||
* Karol Gugala <kgugala@antmicro.com>
|
* Karol Gugala <kgugala@antmicro.com>
|
||||||
* Martin Werner <martin.werner@aacmicrotec.com>
|
* Martin Werner <martin.werner@aacmicrotec.com>
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ The interrupt vector values are switched at the IPIC. See also [1] IPIC 1.
|
|||||||
|
|
||||||
REFERENCES:
|
REFERENCES:
|
||||||
|
|
||||||
[1] MPC8313ECE Rev. 3, 3/2008: "MPC8313E PowerQUICC™ II Pro Integrated Host
|
[1] MPC8313ECE Rev. 3, 3/2008: "MPC8313E PowerQUICC(tm) II Pro Integrated Host
|
||||||
Processor Device Errata"
|
Processor Device Errata"
|
||||||
|
|
||||||
Example U-Boot Sequence
|
Example U-Boot Sequence
|
||||||
|
|||||||
@@ -612,7 +612,7 @@ extern "C" {
|
|||||||
} B;
|
} B;
|
||||||
} SDF;
|
} SDF;
|
||||||
|
|
||||||
uint32_t NBYTES; /* inner (minor) byte count */
|
uint32_t NBYTES; /* inner (minor) byte count */
|
||||||
|
|
||||||
int32_t SLAST; /* last destination address adjustment, or
|
int32_t SLAST; /* last destination address adjustment, or
|
||||||
scatter/gather address (if e_sg = 1) */
|
scatter/gather address (if e_sg = 1) */
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ License
|
|||||||
|
|
||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
|
|
||||||
Copyright © 2004, Brookhaven National Laboratory and
|
Copyright (c) 2004, Brookhaven National Laboratory and
|
||||||
Shuchen K. Feng <feng1@bnl.gov>
|
Shuchen K. Feng <feng1@bnl.gov>
|
||||||
|
|
||||||
The "RTEMS-MVME5500 Board Support Package" is distributed
|
The "RTEMS-MVME5500 Board Support Package" is distributed
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ static bool ppc_exc_create_branch_op(
|
|||||||
* minimal prologues in a read-only area are relocatable.
|
* minimal prologues in a read-only area are relocatable.
|
||||||
*/
|
*/
|
||||||
if ((branch_target_address & ~BRANCH_OP_MSK) != 0) {
|
if ((branch_target_address & ~BRANCH_OP_MSK) != 0) {
|
||||||
/* Target to far for relative branch (PC ± 32M) */
|
/* Target to far for relative branch (PC +/- 32M) */
|
||||||
if (target_address >= 0xfe000001 || target_address < 0x01fffffd) {
|
if (target_address >= 0xfe000001 || target_address < 0x01fffffd) {
|
||||||
/* Can use an absolute branch */
|
/* Can use an absolute branch */
|
||||||
branch_target_address = (target_address | BRANCH_OP_ABS) & BRANCH_OP_MSK;
|
branch_target_address = (target_address | BRANCH_OP_ABS) & BRANCH_OP_MSK;
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ SECTIONS
|
|||||||
PROVIDE_HIDDEN (__rela_iplt_end = .);
|
PROVIDE_HIDDEN (__rela_iplt_end = .);
|
||||||
}
|
}
|
||||||
.rtemsroset : {
|
.rtemsroset : {
|
||||||
/* for pre–RTEMS libbsd FreeBSD code */
|
/* for pre-RTEMS libbsd FreeBSD code */
|
||||||
__start_set_sysctl_set = .;
|
__start_set_sysctl_set = .;
|
||||||
*(set_sysctl_*);
|
*(set_sysctl_*);
|
||||||
__stop_set_sysctl_set = .;
|
__stop_set_sysctl_set = .;
|
||||||
|
|||||||
@@ -105,9 +105,9 @@ enum ctucanfd_txtb_status {
|
|||||||
enum ctucanfd_txtb_command {
|
enum ctucanfd_txtb_command {
|
||||||
/* Requests TXT buffer to move to "Empty" state */
|
/* Requests TXT buffer to move to "Empty" state */
|
||||||
TXT_CMD_SET_EMPTY = 0x01,
|
TXT_CMD_SET_EMPTY = 0x01,
|
||||||
/* Requests TXT buffer to move to “Aborted” or “Abort in progress” state */
|
/* Requests TXT buffer to move to "Aborted" or "Abort in progress" state */
|
||||||
TXT_CMD_SET_READY = 0x02,
|
TXT_CMD_SET_READY = 0x02,
|
||||||
/* Requests TXT buffer to move to “Ready” state*/
|
/* Requests TXT buffer to move to "Ready" state*/
|
||||||
TXT_CMD_SET_ABORT = 0x04
|
TXT_CMD_SET_ABORT = 0x04
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -82,10 +82,10 @@ extern "C" {
|
|||||||
* necessity of scheduling tasks to run within a specified time limit after the
|
* necessity of scheduling tasks to run within a specified time limit after the
|
||||||
* occurrence of an event. For example, software embedded in life-support
|
* occurrence of an event. For example, software embedded in life-support
|
||||||
* systems used to monitor hospital patients must take instant action if a
|
* systems used to monitor hospital patients must take instant action if a
|
||||||
* change in the patient’s status is detected.
|
* change in the patient's status is detected.
|
||||||
*
|
*
|
||||||
* The component of RTEMS responsible for providing this capability is
|
* The component of RTEMS responsible for providing this capability is
|
||||||
* appropriately called the scheduler. The scheduler’s sole purpose is to
|
* appropriately called the scheduler. The scheduler's sole purpose is to
|
||||||
* allocate the all important resource of processor time to the various tasks
|
* allocate the all important resource of processor time to the various tasks
|
||||||
* competing for attention.
|
* competing for attention.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -204,7 +204,7 @@ bool _Heap_Free( Heap_Control *heap, void *addr );
|
|||||||
* @param source If @a dump is @c true, this is used to mark the output lines.
|
* @param source If @a dump is @c true, this is used to mark the output lines.
|
||||||
* @param dump Indicates whether diagnostic messages will be printed to standard output.
|
* @param dump Indicates whether diagnostic messages will be printed to standard output.
|
||||||
*
|
*
|
||||||
* @retval true No errors occurred, the heap´s integrity is not violated.
|
* @retval true No errors occurred, the heap's integrity is not violated.
|
||||||
* @retval false The heap is corrupt.
|
* @retval false The heap is corrupt.
|
||||||
*/
|
*/
|
||||||
bool _Heap_Walk(
|
bool _Heap_Walk(
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ bool _Protected_heap_Free( Heap_Control *heap, void *addr );
|
|||||||
* @param source If @a dump is @c true, this is used to mark the output lines.
|
* @param source If @a dump is @c true, this is used to mark the output lines.
|
||||||
* @param dump Indicates whether diagnostic messages will be printed to standard output.
|
* @param dump Indicates whether diagnostic messages will be printed to standard output.
|
||||||
*
|
*
|
||||||
* @retval true No errors occurred, the heap´s integrity is not violated.
|
* @retval true No errors occurred, the heap's integrity is not violated.
|
||||||
* @retval false The heap is corrupt.
|
* @retval false The heap is corrupt.
|
||||||
*/
|
*/
|
||||||
bool _Protected_heap_Walk( Heap_Control *heap, int source, bool dump );
|
bool _Protected_heap_Walk( Heap_Control *heap, int source, bool dump );
|
||||||
|
|||||||
@@ -24,6 +24,6 @@ NB:
|
|||||||
in RTEMS/GCC/newlib's history.
|
in RTEMS/GCC/newlib's history.
|
||||||
|
|
||||||
References:
|
References:
|
||||||
[1] The Open Group Base Specifications Issue 7, IEEE Std 1003.1™-2008,
|
[1] The Open Group Base Specifications Issue 7, IEEE Std 1003.1(tm)-2008,
|
||||||
http://www.opengroup.org/onlinepubs/9699919799
|
http://www.opengroup.org/onlinepubs/9699919799
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
# COPYRIGHT (c) 2024 On-Line Applications Research Corporation (OAR).
|
# COPYRIGHT (c) 2024 On-Line Applications Research Corporation (OAR).
|
||||||
# COPYRIGHT (c) 2024 Mohamed Hassan <muhammad.hamdy.hassan@gmail.com>
|
# COPYRIGHT (c) 2024 Mohamed Hassan <muhammad.hamdy.hassan@gmail.com>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
# COPYRIGHT (c) 2024 On-Line Applications Research Corporation (OAR).
|
# COPYRIGHT (c) 2024 On-Line Applications Research Corporation (OAR).
|
||||||
# COPYRIGHT (c) 2024 Mohamed Hassan <muhammad.hamdy.hassan@gmail.com>
|
# COPYRIGHT (c) 2024 Mohamed Hassan <muhammad.hamdy.hassan@gmail.com>
|
||||||
|
|||||||
@@ -49,4 +49,4 @@ concepts:
|
|||||||
+ Verify that thread creation fails before thread limit is exceeded
|
+ Verify that thread creation fails before thread limit is exceeded
|
||||||
+ Verify that thread yielding is operational
|
+ Verify that thread yielding is operational
|
||||||
+ Verify that pthread_equal works as expected for different combinations of
|
+ Verify that pthread_equal works as expected for different combinations of
|
||||||
legitimate and illegitimate thread id’s
|
legitimate and illegitimate thread id's
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# COPYRIGHT (c) 2020
|
# COPYRIGHT (c) 2020
|
||||||
# On-Line Applications Research Corporation (OAR).
|
# On-Line Applications Research Corporation (OAR).
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# COPYRIGHT (c) 2019
|
# COPYRIGHT (c) 2019
|
||||||
# On-Line Applications Research Corporation (OAR).
|
# On-Line Applications Research Corporation (OAR).
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# COPYRIGHT (c) 2019
|
# COPYRIGHT (c) 2019
|
||||||
# On-Line Applications Research Corporation (OAR).
|
# On-Line Applications Research Corporation (OAR).
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
This File describes the concepts tested by this test suite.
|
This File describes the concepts tested by this test suite.
|
||||||
|
|
||||||
inttypes.h - fixed size integer types
|
inttypes.h - fixed size integer types
|
||||||
|
|
||||||
|
|||||||
@@ -27,4 +27,4 @@
|
|||||||
|
|
||||||
This test benchmarks the following operations:
|
This test benchmarks the following operations:
|
||||||
|
|
||||||
+ pthread_barrier_wait – blocking
|
+ pthread_barrier_wait - blocking
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
*** POSIX TIME PSXTMBARRIER 02 ***
|
*** POSIX TIME PSXTMBARRIER 02 ***
|
||||||
pthread_barrier_wait – blocking 95
|
pthread_barrier_wait - blocking 95
|
||||||
*** END OF POSIX TIME PSXTMBARRIER 02 ***
|
*** END OF POSIX TIME PSXTMBARRIER 02 ***
|
||||||
|
|||||||
@@ -27,4 +27,4 @@
|
|||||||
|
|
||||||
This test benchmarks the following operations:
|
This test benchmarks the following operations:
|
||||||
|
|
||||||
+ pthread_barrier_wait – releasing, no preempt
|
+ pthread_barrier_wait - releasing, no preempt
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
*** POSIX TIME TEST PSXTMBARRIER 03 ***
|
*** POSIX TIME TEST PSXTMBARRIER 03 ***
|
||||||
pthread_barrier_wait – releasing, no preempt 50
|
pthread_barrier_wait - releasing, no preempt 50
|
||||||
*** END OF POSIX TIME TEST PSXTMBARRIER 03 ***
|
*** END OF POSIX TIME TEST PSXTMBARRIER 03 ***
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
This test benchmarks the following operations:
|
This test benchmarks the following operations:
|
||||||
|
|
||||||
+ pthread_barrier_wait – releasing, preempt
|
+ pthread_barrier_wait - releasing, preempt
|
||||||
|
|
||||||
This file describes the directives and concepts tested by this test set.
|
This file describes the directives and concepts tested by this test set.
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
This test benchmarks the following operations:
|
This test benchmarks the following operations:
|
||||||
|
|
||||||
+ sem_getvalue
|
+ sem_getvalue
|
||||||
+ sem_wait – available
|
+ sem_wait - available
|
||||||
+ sem_post - no threads waiting
|
+ sem_post - no threads waiting
|
||||||
+ sem_trywait - available
|
+ sem_trywait - available
|
||||||
+ sem_trywait - not available
|
+ sem_trywait - not available
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
* including "red-black" and "AVL" trees. The set of conditions applied here
|
* including "red-black" and "AVL" trees. The set of conditions applied here
|
||||||
* are the "weak-AVL" conditions of Haeupler, Sen and Tarjan presented in in
|
* are the "weak-AVL" conditions of Haeupler, Sen and Tarjan presented in in
|
||||||
* "Rank Balanced Trees", ACM Transactions on Algorithms Volume 11 Issue 4 June
|
* "Rank Balanced Trees", ACM Transactions on Algorithms Volume 11 Issue 4 June
|
||||||
* 2015 Article No.: 30pp 1–26 https://doi.org/10.1145/2689412 (the HST paper):
|
* 2015 Article No.: 30pp 1-26 https://doi.org/10.1145/2689412 (the HST paper):
|
||||||
* - every rank-difference is 1 or 2.
|
* - every rank-difference is 1 or 2.
|
||||||
* - the rank of any leaf is 1.
|
* - the rank of any leaf is 1.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ def _plot(data: dict) -> None:
|
|||||||
_, axes = plt.subplots()
|
_, axes = plt.subplots()
|
||||||
axes.set_title("Context Switch Timing Test")
|
axes.set_title("Context Switch Timing Test")
|
||||||
axes.set_xlabel("Function Nest Level")
|
axes.set_xlabel("Function Nest Level")
|
||||||
axes.set_ylabel("Context Switch Time [μs]")
|
axes.set_ylabel("Context Switch Time [us]")
|
||||||
x = list(range(0, len(data[0]["stats-by-function-nest-level"])))
|
x = list(range(0, len(data[0]["stats-by-function-nest-level"])))
|
||||||
axes.xaxis.set_major_locator(ticker.FixedLocator(x))
|
axes.xaxis.set_major_locator(ticker.FixedLocator(x))
|
||||||
for samples in data:
|
for samples in data:
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ def _plot(data: dict) -> None:
|
|||||||
axes.set_title("Timer Fire and Cancel Timing Test")
|
axes.set_title("Timer Fire and Cancel Timing Test")
|
||||||
axes.set_xlabel("Active Timers")
|
axes.set_xlabel("Active Timers")
|
||||||
axes.set_xscale("log")
|
axes.set_xscale("log")
|
||||||
axes.set_ylabel("Timer Fire and Cancel Duration [μs]")
|
axes.set_ylabel("Timer Fire and Cancel Duration [us]")
|
||||||
x = [sample["active-timers"] for sample in data["samples"]]
|
x = [sample["active-timers"] for sample in data["samples"]]
|
||||||
for key in ["first", "middle", "last"]:
|
for key in ["first", "middle", "last"]:
|
||||||
y = [sample[key] / 1000.0 for sample in data["samples"]]
|
y = [sample[key] / 1000.0 for sample in data["samples"]]
|
||||||
|
|||||||
Reference in New Issue
Block a user