|
1 | 1 | #!/usr/bin/env python3 |
2 | 2 |
|
| 3 | +# The MIT License (MIT) |
| 4 | + |
| 5 | +# Copyright (c) 2022 Nicolas Viennot |
| 6 | + |
| 7 | +# Permission is hereby granted, free of charge, to any |
| 8 | +# person obtaining a copy of this software and associated |
| 9 | +# documentation files (the "Software"), to deal in the |
| 10 | +# Software without restriction, including without |
| 11 | +# limitation the rights to use, copy, modify, merge, |
| 12 | +# publish, distribute, sublicense, and/or sell copies of |
| 13 | +# the Software, and to permit persons to whom the Software |
| 14 | +# is furnished to do so, subject to the following |
| 15 | +# conditions: |
| 16 | + |
| 17 | +# The above copyright notice and this permission notice |
| 18 | +# shall be included in all copies or substantial portions |
| 19 | +# of the Software. |
| 20 | + |
| 21 | +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF |
| 22 | +# ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED |
| 23 | +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A |
| 24 | +# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT |
| 25 | +# SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 26 | +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
| 27 | +# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR |
| 28 | +# IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 29 | +# DEALINGS IN THE SOFTWARE. |
| 30 | + |
| 31 | + |
| 32 | +# This file was originally part of core-to-core-latency by Nicolas Viennot. |
| 33 | +# |
| 34 | +# Modifications have been made to this file by the cpu_latency project. |
| 35 | +# |
| 36 | +# The modified version is licensed under the MIT License. |
| 37 | +# See the LICENSE file in the root directory of this source tree for more information. |
| 38 | + |
3 | 39 | import matplotlib.pyplot as plt |
4 | 40 | from matplotlib import colormaps as cmaps |
5 | 41 | import numpy as np |
|
0 commit comments