2022-09-19 12:39:02 +02:00
|
|
|
/* Copyright (c) 2021 Barcelona Supercomputing Center (BSC)
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later */
|
2021-10-26 18:42:41 +02:00
|
|
|
|
2021-08-02 10:08:58 +02:00
|
|
|
#ifndef OVNI_PRV_H
|
|
|
|
#define OVNI_PRV_H
|
|
|
|
|
2021-08-03 20:47:02 +02:00
|
|
|
#include <stdint.h>
|
|
|
|
#include "ovni.h"
|
|
|
|
#include "emu.h"
|
|
|
|
|
2021-08-03 18:42:56 +02:00
|
|
|
void
|
|
|
|
prv_ev(FILE *f, int row, int64_t time, int type, int val);
|
|
|
|
|
2021-09-23 12:40:59 +02:00
|
|
|
void
|
|
|
|
prv_ev_thread_raw(struct ovni_emu *emu, int row, int64_t time, int type, int val);
|
|
|
|
|
2021-08-03 18:42:56 +02:00
|
|
|
void
|
|
|
|
prv_ev_thread(struct ovni_emu *emu, int row, int type, int val);
|
|
|
|
|
|
|
|
void
|
|
|
|
prv_ev_cpu(struct ovni_emu *emu, int row, int type, int val);
|
|
|
|
|
2021-08-02 10:08:58 +02:00
|
|
|
void
|
|
|
|
prv_ev_autocpu(struct ovni_emu *emu, int type, int val);
|
|
|
|
|
2021-10-21 15:55:40 +02:00
|
|
|
void
|
|
|
|
prv_ev_autocpu_raw(struct ovni_emu *emu, int64_t time, int type, int val);
|
|
|
|
|
2021-08-02 10:08:58 +02:00
|
|
|
void
|
2021-08-03 18:42:56 +02:00
|
|
|
prv_header(FILE *f, int nrows);
|
2021-08-02 10:08:58 +02:00
|
|
|
|
2021-11-02 14:05:32 +01:00
|
|
|
void
|
|
|
|
prv_fix_header(FILE *f, uint64_t duration, int nrows);
|
|
|
|
|
2021-08-02 10:08:58 +02:00
|
|
|
#endif /* OVNI_PRV_H */
|