\newcommand{\uop}{$\mu$OP}
\newcommand{\uops}{\uop{}s}

\newcommand{\eg}{\textit{eg.}}
\newcommand{\ie}{\textit{ie.}}
\newcommand{\wrt}{\textit{wrt.}}

\newcommand{\kerK}{\mathcal{K}}
\newcommand{\calR}{\mathcal{R}}
\newcommand{\calI}{\mathcal{I}}
\newcommand{\calB}{\mathcal{B}}
\newcommand{\calP}{\mathcal{P}}

\newcommand{\abs}[1]{\left| #1 \right|}

\newcommand{\limarrow}[2]{\xrightarrow[#1 \to #2]{}}

\newcommand{\cyc}[1]{\overline{#1}}
\newcommand{\cycF}[1]{\overline{#1}^\textbf{F}}
\newcommand{\cycB}[1]{\overline{#1}^\textbf{B}}
\newcommand{\cycmes}[2]{\overline{#1}^{\textit{M(}#2\textit{)}}}
\newcommand{\ckn}[1]{C\left(\kerK^{#1}\right)}

\newcommand{\nat}{\mathbb{N}}

\newcommand{\basic}[1]{\calB_\texttt{#1}}

\newcommand{\mucount}{\#_{\mu}}

\newcommand{\ceil}[1]{\left\lceil{} #1 \right\rceil{}}
\newcommand{\card}[1]{\left| #1 \right|}
\newcommand{\distance}[2]{\operatorname{distance}\left(#1,#2\right)}

\newcommand{\bigO}[1]{\mathcal{O}\left(#1\right)}

% Names
\newcommand{\fgruber}{Fabian \textsc{Gruber}}
\newcommand{\nderumig}{Nicolas \textsc{Derumigny}}
\newcommand{\cguillon}{Christophe \textsc{Guillon}}

% Programs
\newcommand{\papi}{\texttt{PAPI}}
\newcommand{\perf}{\texttt{perf}}
\newcommand{\qemu}{\texttt{QEMU}}
\newcommand{\iaca}{\texttt{IACA}}
\newcommand{\llvm}{\texttt{llvm}}
\newcommand{\llvmmca}{\texttt{llvm-mca}}
\newcommand{\uopsinfo}{\texttt{uops.info}}
\newcommand{\uica}{\texttt{uiCA}}
\newcommand{\pipedream}{\texttt{Pipedream}}
\newcommand{\palmed}{\texttt{Palmed}}
\newcommand{\pmevo}{\texttt{PMEvo}}
\newcommand{\gus}{\texttt{Gus}}
\newcommand{\ithemal}{\texttt{Ithemal}}
\newcommand{\osaca}{\texttt{Osaca}}
\newcommand{\bhive}{\texttt{BHive}}
\newcommand{\anica}{\texttt{AnICA}}
\newcommand{\cesasme}{\texttt{CesASMe}}
\newcommand{\benchsuitebb}{\texttt{benchsuite-bb}}
\newcommand{\staticdeps}{\texttt{staticdeps}}
\newcommand{\depsim}{\texttt{depsim}}
\newcommand{\valgrind}{\texttt{valgrind}}
\newcommand{\vex}{\texttt{VEX}}
\newcommand{\acombined}{\texttt{A72 combined}}

\newcommand{\uicadeps}{\uica{}~+~\staticdeps{}}

\newcommand{\gdb}{\texttt{gdb}}

\newcommand{\coeq}{CO$_{2}$eq}

\newcommand{\figref}[1]{[§\ref{#1}]}

\newcommand{\reg}[1]{\texttt{\%#1}}

\newcommand{\cov}{\operatorname{cov}}

% Hyperlinks
\newcommand{\pymodule}[1]{\href{https://docs.python.org/3/library/#1.html}{\lstpython{#1}}}
