PaStiX Handbook  6.2.1
kernels_trace.c File Reference
#include "common/common.h"
#include "bcsc/bcsc.h"
#include "blend/solver.h"
#include "kernels_trace.h"

Go to the source code of this file.

Macros

#define _GNU_SOURCE   1
 

Functions

void kernelsTraceStart (const pastix_data_t *pastix_data)
 Start the trace module. More...
 
double kernelsTraceStop (const pastix_data_t *pastix_data)
 Stop the trace module. More...
 

Variables

pastix_int_t(* core_get_rklimit )(pastix_int_t, pastix_int_t) = core_get_rklimit_end
 Compute the maximal rank accepted for a given matrix size. The pointer is set according to the low-rank strategy used. More...
 
volatile double kernels_flops [PastixKernelLvl1Nbr]
 
volatile int32_t kernels_trace_started = 0
 
pastix_atomic_lock_t lock_flops = PASTIX_ATOMIC_UNLOCKED
 
double overall_flops [3] = { 0.0, 0.0, 0.0 }
 

Detailed Description

PaStiX trace and modelling routines

Version
6.2.0
Author
Gregoire Pichon
Mathieu Faverge
Date
2021-01-03

Definition in file kernels_trace.c.

Function Documentation

◆ kernelsTraceStart()

void kernelsTraceStart ( const pastix_data_t *  pastix_data)

Start the trace module.

Parameters
[in]pastix_dataThe pastix_data structure of the problem to give input information to the different trace modes.

Definition at line 66 of file kernels_trace.c.

◆ kernelsTraceStop()

double kernelsTraceStop ( const pastix_data_t *  pastix_data)

Stop the trace module.

Parameters
[in]pastix_dataThe pastix_data structure of the problem to get input information for the different trace modes, and store output statistics.

Definition at line 160 of file kernels_trace.c.