Profiling for linsolve