Commit 914d4615 authored by malenov's avatar malenov
Browse files

modifications to main functions

parent 3622bfc5
Loading
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -165,6 +165,7 @@ int main(
#ifdef WMOPS
#ifndef DONT_COUNT
    reset_wmops();
    reset_wmops_wmc();
    reset_mem( USE_BYTES );
#endif
#endif
@@ -639,6 +640,7 @@ cleanup:

#ifdef WMOPS
    print_wmops();
    print_wmops_wmc();
    print_mem( NULL );
#endif

@@ -1549,6 +1551,7 @@ static ivas_error decodeG192(
#ifdef WMOPS
    reset_stack();
    reset_wmops();
    reset_wmops_wmc();
#endif

    nSamplesAvailableNext = 0;
@@ -1810,6 +1813,7 @@ static ivas_error decodeG192(
        if ( vec_pos_update == 0 )
        {
            update_wmops();
            update_wmops_wmc();
            update_mem();
        }
#endif
@@ -1941,6 +1945,7 @@ static ivas_error decodeG192(
#ifdef WMOPS
#ifndef DONT_COUNT
        update_wmops();
        update_wmops_wmc();
        update_mem();
#ifdef MEM_COUNT_DETAILS
        export_mem( "mem_analysis.csv" );
@@ -2208,6 +2213,7 @@ static ivas_error decodeVoIP(
#ifdef WMOPS
    reset_stack();
    reset_wmops();
    reset_wmops_wmc();
#endif

    /*------------------------------------------------------------------------------------------*
@@ -2492,6 +2498,7 @@ static ivas_error decodeVoIP(
#ifndef DONT_COUNT
        update_mem();
        update_wmops();
        update_wmops_wmc();
#endif
#endif
    }
+3 −0
Original line number Diff line number Diff line
@@ -171,6 +171,7 @@ int main(

#ifdef WMOPS
    reset_wmops();
    reset_wmops_wmc();
    reset_mem( USE_BYTES );
#endif

@@ -567,6 +568,7 @@ int main(
#ifdef WMOPS
    reset_stack();
    reset_wmops();
    reset_wmops_wmc();
#endif

    /*------------------------------------------------------------------------------------------*
@@ -710,6 +712,7 @@ int main(
#ifdef WMOPS
        update_mem();
        update_wmops();
        update_wmops_wmc();
#endif
    }

+3 −0
Original line number Diff line number Diff line
@@ -663,6 +663,7 @@ int main(

#ifdef WMOPS
    reset_wmops();
    reset_wmops_wmc();
    reset_mem( USE_BYTES );
#endif

@@ -1277,6 +1278,7 @@ int main(
#ifdef WMOPS
    reset_stack();
    reset_wmops();
    reset_wmops_wmc();
#endif

    if ( !args.quietModeEnabled )
@@ -1708,6 +1710,7 @@ int main(
#ifdef WMOPS
        update_mem();
        update_wmops();
        update_wmops_wmc();
#endif
    }