$ apt install device-tree-compiler
pacman -S dtc
#!/usr/bin/env bash | |
if [ $# -eq 0 ]; then | |
echo "Usage ./get-affinities.sh <PID>" | |
exit 1 | |
fi | |
pid=$1 | |
if [ ! -d "/proc/${pid}" ]; then |
{ | |
"MISRA_C_2004": { | |
"description": "MISRA C 2004 ruleset.", | |
"sections": [ | |
{ | |
"name": "1. Environment", | |
"ruleset": [ | |
{ | |
"name": "Rule 1.1", | |
"description": "All code shall conform to ISO/IEC 9899:1990.", |
/* | |
* Author: Tuna Cici | |
* Date: 30 May 2023 | |
* | |
* This file contains the benchmarking code for the 'printf' function. | |
* It is used to measure the time it takes to print a string to the 'stdout'. | |
* | |
*/ | |
#if defined(_WIN32) || defined(_WIN64) |