Exemplo n.º 1
0
int main (void)
{
	// Sync with the monitor.
	mk_mon_sync();
	// Enable stack checking.
	start_stack_check();
	begin_use();
	while (*fifo_sync31 == 0) {}
	
    JpegToBmp();
	end_use();
   mk_mon_debug_info(0x00444D41);//start of DMA_counters
   //print the dma_counters according to the following order here
     mk_mon_debug_info(to_core1);
     mk_mon_debug_info(to_core2);
     mk_mon_debug_info(to_core3);
     mk_mon_debug_info(to_core4);
     mk_mon_debug_info(to_DDR);
     mk_mon_debug_info(from_core1);
     mk_mon_debug_info(from_core2);
     mk_mon_debug_info(from_core3);
     mk_mon_debug_info(from_core4);
     mk_mon_debug_info(from_DDR);
   mk_mon_debug_info(0xFF444D41);//end of DMA_counters
	mk_mon_debug_tile_finished();
	return 0;
}
Exemplo n.º 2
0
int jpeg_dec_main()
{


        JpegToBmp();
    return 0;

}
Exemplo n.º 3
0
int main (void)
{
	// Sync with the monitor.
	mk_mon_sync();
	// Enable stack checking.
	start_stack_check();
	begin_use();
    JpegToBmp();
	end_use();
	// Signal the monitor we are done.
	mk_mon_debug_tile_finished();
	return 0;
}
Exemplo n.º 4
0
int main (void)
{
	// Sync with the monitor.
	mk_mon_sync();
	// Enable stack checking.
	start_stack_check();
// /*	
	begin_use();

	int output = JpegToBmp();
	
	mk_mon_debug_info(output);

	// Signal the monitor we are done.
	end_use();
// */
	mk_mon_debug_tile_finished();
	return 0;
}
Exemplo n.º 5
0
int main (void)
{
	// Sync with the monitor.
	start_stack_check();
	paint_stack();
    benchmark_cmem_pattern();
	mk_mon_sync();
	mask_DDR(); 
	
	begin_use();
    JpegToBmp();
	end_use();

	count_stack();
    benchmark_malloc_max_usage();
    benchmark_malloc_num_mallocs();
    benchmark_malloc_num_malloc_free();
    benchmark_cmem_usage();
    readback_DDR(); // only need to be put in 1 core
    print_DDR_usage(); // only need to be put in 1 core
    
	mk_mon_debug_info(0x00444D41);//start of DMA_counters
   //print the dma_counters according to the following order here
     mk_mon_debug_info(to_core1);
     mk_mon_debug_info(to_core2);
     mk_mon_debug_info(to_core3);
     mk_mon_debug_info(to_core4);
     mk_mon_debug_info(to_DDR);
     mk_mon_debug_info(from_core1);
     mk_mon_debug_info(from_core2);
     mk_mon_debug_info(from_core3);
     mk_mon_debug_info(from_core4);
     mk_mon_debug_info(from_DDR);
   mk_mon_debug_info(0xFF444D41);//end of DMA_counters
	// Signal the monitor we are done.
	mk_mon_debug_tile_finished();
	return 0;
}