HPCToolkit
write_data.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <setjmp.h>
#include "fname_max.h"
#include "backtrace.h"
#include "files.h"
#include "epoch.h"
#include "rank.h"
#include "thread_data.h"
#include "cct_bundle.h"
#include "hpcrun_return_codes.h"
#include "write_data.h"
#include "loadmap.h"
#include "sample_prob.h"
#include <messages/messages.h>
#include <lush/lush-backtrace.h>
#include <lib/prof-lean/hpcio.h>
#include <lib/prof-lean/hpcfmt.h>
#include <lib/prof-lean/hpcrun-fmt.h>
#include <lib/support-lean/OSUtil.h>
Include dependency graph for write_data.c:

Go to the source code of this file.

Functions

static FILE * lazy_open_data_file (core_profile_trace_data_t *cptd)
 
static int write_epochs (FILE *fs, core_profile_trace_data_t *cptd, epoch_t *epoch)
 
void hpcrun_flush_epochs (core_profile_trace_data_t *cptd)
 
int hpcrun_write_profile_data (core_profile_trace_data_t *cptd)
 
void hpcrun_dbg_print_current_loadmap (void)
 

Variables

static epoch_flags_t epoch_flags
 
static const uint64_t default_measurement_granularity = 1
 

Function Documentation

◆ hpcrun_dbg_print_current_loadmap()

void hpcrun_dbg_print_current_loadmap ( void  )

Definition at line 349 of file write_data.c.

Here is the call graph for this function:

◆ hpcrun_flush_epochs()

void hpcrun_flush_epochs ( core_profile_trace_data_t cptd)

Definition at line 318 of file write_data.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_write_profile_data()

int hpcrun_write_profile_data ( core_profile_trace_data_t cptd)

Definition at line 329 of file write_data.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lazy_open_data_file()

static FILE* lazy_open_data_file ( core_profile_trace_data_t cptd)
static

Definition at line 136 of file write_data.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_epochs()

static int write_epochs ( FILE *  fs,
core_profile_trace_data_t cptd,
epoch_t epoch 
)
static

Definition at line 207 of file write_data.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ default_measurement_granularity

const uint64_t default_measurement_granularity = 1
static

Definition at line 90 of file write_data.c.

◆ epoch_flags

epoch_flags_t epoch_flags
static
Initial value:
= {
.bits = 0
}

Definition at line 86 of file write_data.c.