1. A profiler comprising: an architecture analyzer which generates architecture analysis information about an architecture of an application specific architecture processor which comprises a plurality of processing elements; a static analyzer which generates static analysis information about a program to be implemented by the application specific architecture processor; a dynamic analyzer which generates dynamic analysis information about the program based on a result of simulating the program; and a cross profiling analyzer which generates information for optimizing at least one of the application specific architecture processor and the program based on at least one of the architecture analysis information, the static analysis information, and the dynamic analysis information.