NCBI C++ ToolKit
Functions
blast_diagnostics.c File Reference

Manipulating diagnostics data returned from BLAST. More...

#include <algo/blast/core/blast_diagnostics.h>
#include <algo/blast/core/blast_def.h>
+ Include dependency graph for blast_diagnostics.c:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

BlastDiagnosticsBlast_DiagnosticsFree (BlastDiagnostics *diagnostics)
 Free the BlastDiagnostics structure and all substructures. More...
 
BlastDiagnosticsBlast_DiagnosticsCopy (const BlastDiagnostics *diagnostics)
 Free the BlastDiagnostics structure and all substructures. More...
 
BlastDiagnosticsBlast_DiagnosticsInit ()
 Initialize the BlastDiagnostics structure and all its substructures. More...
 
BlastDiagnosticsBlast_DiagnosticsInitMT (MT_LOCK mt_lock)
 Initialize the BlastDiagnostics structure for a multi-threaded search. More...
 
void Blast_UngappedStatsUpdate (BlastUngappedStats *ungapped_stats, Int4 total_hits, Int4 extended_hits, Int4 saved_hits)
 Fill data in the ungapped hits diagnostics structure. More...
 
void Blast_DiagnosticsUpdate (BlastDiagnostics *global, BlastDiagnostics *local)
 In a multi-threaded run, update global diagnostics data with the data coming from one of the preliminary search threads. More...
 

Detailed Description

Manipulating diagnostics data returned from BLAST.

Definition in file blast_diagnostics.c.

Function Documentation

◆ Blast_DiagnosticsCopy()

BlastDiagnostics* Blast_DiagnosticsCopy ( const BlastDiagnostics diagnostics)

◆ Blast_DiagnosticsFree()

BlastDiagnostics* Blast_DiagnosticsFree ( BlastDiagnostics diagnostics)

◆ Blast_DiagnosticsInit()

BlastDiagnostics* Blast_DiagnosticsInit ( void  )

◆ Blast_DiagnosticsInitMT()

BlastDiagnostics* Blast_DiagnosticsInitMT ( MT_LOCK  mt_lock)

Initialize the BlastDiagnostics structure for a multi-threaded search.

Parameters
mt_lockMutex locking mechanism to be used for updates. [in]

Definition at line 94 of file blast_diagnostics.c.

References Blast_DiagnosticsInit(), and BlastDiagnostics::mt_lock.

Referenced by CSetupFactory::CreateDiagnosticsStructureMT().

◆ Blast_DiagnosticsUpdate()

void Blast_DiagnosticsUpdate ( BlastDiagnostics diag_global,
BlastDiagnostics diag_local 
)

◆ Blast_UngappedStatsUpdate()

void Blast_UngappedStatsUpdate ( BlastUngappedStats ungapped_stats,
Int4  total_hits,
Int4  extended_hits,
Int4  saved_hits 
)
Modified on Sun May 19 04:48:32 2024 by modify_doxy.py rev. 669887