tico 0.1
Mechanical Watch Terminal Timegrapher
printing.h
Go to the documentation of this file.
1#pragma once
2
3#include <stddef.h>
13void printmsg(const char* fmt, ...) __attribute__((format(printf, 1, 2)));
14
15/* @brief Prints the header information for the capture output, including beat
16error, fitted rate, and elapsed time.
17@param fittedRate The fitted rate in seconds per day.
18@param everyline A flag indicating whether to print the header on every line or
19at the top of the screen
20@param beatError The beat error in milliseconds.
21@param seconds The elapsed time in seconds. */
22
23void printheader(double fittedRate,
24 unsigned int everyline,
25 double beatError,
26 double seconds);
27
37void printspaces(int maxpos,
38 size_t hexvalue,
39 size_t mod,
40 size_t acolumns,
41 double avgPos,
42 size_t correlationThreshold);
43
48void print(const char* fmt, ...) __attribute__((format(printf, 1, 2)));
void print(const char *fmt,...) __attribute__((format(printf
Prints a formatted message to the standard error stream, using a printf-style format string and varia...
void printmsg(const char *fmt,...) __attribute__((format(printf
Prints a message right-aligned to the screen, 5 lines from the top, in light blue.
void void printheader(double fittedRate, unsigned int everyline, double beatError, double seconds)
Definition: printing.c:73
void printspaces(int maxpos, size_t hexvalue, size_t mod, size_t acolumns, double avgPos, size_t correlationThreshold)
Prints spaces to visually represent the position of the maximum correlation in the capture output,...
Definition: printing.c:97