For profiling the pure software it might be fruitful but it couldn't give you an exact picture of what happens in the real environment. Particularly on using cache with external memory. Anyhow you can make the comparative analysis over the existing code.