Exemplo n.º 1
0
static void usage_all(void)
{
       common_usage();
       tuner_usage();
       io_usage();
       stds_usage();
       vidcap_usage();
       vidout_usage();
       overlay_usage();
       vbi_usage();
       sdr_usage();
       selection_usage();
       misc_usage();
       streaming_usage();
       edid_usage();
}
Exemplo n.º 2
0
void    sdrnm_state_get(SdrnmState *state)
{
    Sdr		sdr = getIonsdr();
    SdrUsageSummary	usage;

    CHKVOID(state);
    CHKVOID(sdr_begin_xn(sdr));
    sdr_usage(sdr, &usage);
    state->smallPoolSize = usage.smallPoolSize;
    state->smallPoolFree = usage.smallPoolFree;
    state->smallPoolAllocated = usage.smallPoolAllocated;
    state->largePoolSize = usage.largePoolSize;
    state->largePoolFree = usage.largePoolFree;
    state->largePoolAllocated = usage.largePoolAllocated;
    state->unusedSize = usage.unusedSize;
    sdr_exit_xn(sdr);
}