Data Fields
ufunc Struct Reference

Structure to hold info for a user function. More...

#include <typval.h>

Data Fields

int uf_varargs
 variable nr of arguments More...
 
int uf_flags
 
int uf_calls
 nr of active calls More...
 
bool uf_cleared
 func_clear() was already called More...
 
garray_T uf_args
 arguments More...
 
garray_T uf_lines
 function lines More...
 
int uf_profiling
 true when func is being profiled More...
 
int uf_prof_initialized
 
int uf_tm_count
 nr of calls More...
 
proftime_T uf_tm_total
 time spent in function + children More...
 
proftime_T uf_tm_self
 time spent in function itself More...
 
proftime_T uf_tm_children
 time spent in children this call More...
 
int * uf_tml_count
 nr of times line was executed More...
 
proftime_Tuf_tml_total
 time spent in a line + children More...
 
proftime_Tuf_tml_self
 time spent in a line itself More...
 
proftime_T uf_tml_start
 start time for current line More...
 
proftime_T uf_tml_children
 time spent in children for this line More...
 
proftime_T uf_tml_wait
 start wait time for current line More...
 
int uf_tml_idx
 index of line being timed; -1 if none More...
 
int uf_tml_execed
 line being timed was executed More...
 
sctx_T uf_script_ctx
 
int uf_refcount
 reference count, see func_name_refcount() More...
 
funccall_Tuf_scoped
 l: local variables for closure More...
 
char_u uf_name []
 

Detailed Description

Structure to hold info for a user function.

Field Documentation

garray_T ufunc::uf_args

arguments

int ufunc::uf_calls

nr of active calls

bool ufunc::uf_cleared

func_clear() was already called

int ufunc::uf_flags
garray_T ufunc::uf_lines

function lines

char_u ufunc::uf_name[]

Name of function; can start with <SNR>123_ (<SNR> is K_SPECIAL KS_EXTRA KE_SNR)

int ufunc::uf_prof_initialized
int ufunc::uf_profiling

true when func is being profiled

int ufunc::uf_refcount

reference count, see func_name_refcount()

funccall_T* ufunc::uf_scoped

l: local variables for closure

sctx_T ufunc::uf_script_ctx

SCTX where function was defined, used for s: variables

proftime_T ufunc::uf_tm_children

time spent in children this call

int ufunc::uf_tm_count

nr of calls

proftime_T ufunc::uf_tm_self

time spent in function itself

proftime_T ufunc::uf_tm_total

time spent in function + children

proftime_T ufunc::uf_tml_children

time spent in children for this line

int* ufunc::uf_tml_count

nr of times line was executed

int ufunc::uf_tml_execed

line being timed was executed

int ufunc::uf_tml_idx

index of line being timed; -1 if none

proftime_T* ufunc::uf_tml_self

time spent in a line itself

proftime_T ufunc::uf_tml_start

start time for current line

proftime_T* ufunc::uf_tml_total

time spent in a line + children

proftime_T ufunc::uf_tml_wait

start wait time for current line

int ufunc::uf_varargs

variable nr of arguments


The documentation for this struct was generated from the following file: