cacao  Release 0.1.03-dev
Compute And Control For Adaptive Optics
AOloopControl_perfTest_status.c File Reference

Adaptive Optics Control loop engine testing. More...

#include <math.h>
#include <string.h>
#include <pthread.h>
#include <ncurses.h>
#include "CommandLineInterface/CLIcore.h"
#include "info/info.h"
#include "AOloopControl/AOloopControl.h"
#include "AOloopControl_IOtools/AOloopControl_IOtools.h"
#include "AOloopControl_perfTest/AOloopControl_perfTest.h"
#include "COREMOD_memory/COREMOD_memory.h"
#include "00CORE/00CORE.h"
Include dependency graph for AOloopControl_perfTest_status.c:

Macros

#define _GNU_SOURCE
 

Functions

AOloopControl - 1. STATUS / TESTING / PERF MEASUREMENT
errno_t AOloopControl_perfTest_printloopstatus (long loop, long nbcol, __attribute__((unused)) imageID IDmodeval_dm, __attribute__((unused)) imageID IDmodeval, __attribute__((unused)) imageID IDmodevalave, __attribute__((unused)) imageID IDmodevalrms, __attribute__((unused)) long ksize)
 
errno_t AOloopControl_perfTest_loopMonitor (long loop, double frequ, long nbcol)
 
errno_t AOloopControl_perfTest_statusStats (int updateconf, long NBsample)
 
errno_t AOloopControl_perfTest_resetRMSperf ()
 
errno_t AOloopControl_perfTest_showparams (long loop)
 

Variables

static int wcol
 
static int wrow
 
long LOOPNUMBER
 
AOLOOPCONTROL_CONFAOconf
 CLI function for AOloopControl_setframesAve. More...
 
AOloopControl_var aoloopcontrol_var
 

Detailed Description

Adaptive Optics Control loop engine testing.

AO engine uses stream data structure

Author
O. Guyon
Date
21 Dec 2017
Bug:
No known bugs.

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Function Documentation

◆ AOloopControl_perfTest_loopMonitor()

errno_t AOloopControl_perfTest_loopMonitor ( long  loop,
double  frequ,
long  nbcol 
)

Purpose

Monitors AO loop performance
Prints status on screen

◆ AOloopControl_perfTest_printloopstatus()

errno_t AOloopControl_perfTest_printloopstatus ( long  loop,
long  nbcol,
__attribute__((unused)) imageID  IDmodeval_dm,
__attribute__((unused)) imageID  IDmodeval,
__attribute__((unused)) imageID  IDmodevalave,
__attribute__((unused)) imageID  IDmodevalrms,
__attribute__((unused)) long  ksize 
)

◆ AOloopControl_perfTest_resetRMSperf()

errno_t AOloopControl_perfTest_resetRMSperf ( )

◆ AOloopControl_perfTest_showparams()

errno_t AOloopControl_perfTest_showparams ( long  loop)

◆ AOloopControl_perfTest_statusStats()

errno_t AOloopControl_perfTest_statusStats ( int  updateconf,
long  NBsample 
)

Variable Documentation

◆ AOconf

CLI function for AOloopControl_setframesAve.

◆ aoloopcontrol_var

AOloopControl_var aoloopcontrol_var

◆ LOOPNUMBER

long LOOPNUMBER

◆ wcol

int wcol
static

◆ wrow

int wrow
static