ovni/prv.h

50 lines
1.3 KiB
C
Raw Normal View History

2021-10-26 18:42:41 +02:00
/*
* Copyright (c) 2021 Barcelona Supercomputing Center (BSC)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
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"
void
prv_ev(FILE *f, int row, int64_t time, int type, int val);
void
prv_ev_thread_raw(struct ovni_emu *emu, int row, int64_t time, int type, int val);
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
prv_header(FILE *f, int nrows);
2021-08-02 10:08:58 +02:00
void
prv_fix_header(FILE *f, uint64_t duration, int nrows);
2021-08-02 10:08:58 +02:00
#endif /* OVNI_PRV_H */