Commit Graph

36 Commits

Author SHA1 Message Date
twinaphex
2b840c0384 Refactor perf counters 2015-09-20 10:02:59 +02:00
twinaphex
e67f3f246d Rearrange header include dependencies 2015-06-02 17:17:46 +02:00
twinaphex
e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex
08f59ddbff Use retro_inline.h 2015-03-15 04:41:11 +01:00
twinaphex
64527f2cef Revert "(Menu) cleaner dt formulas"
This reverts commit b6e214128a.
2015-02-24 03:06:13 +01:00
Jean-André Santoni
b6e214128a (Menu) cleaner dt formulas 2015-02-24 01:09:14 +01:00
twinaphex
886e6f3f1e Start adding documentation for performance.c 2015-01-09 02:37:46 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex
9d783b6627 Style cleanups 2014-09-07 05:47:18 +02:00
twinaphex
fbb0b57cae Use __ARM_NEON__ define instead of HAVE_NEON 2014-07-26 20:18:37 +02:00
twinaphex
753d78dfd3 (Performance counters) Add performance counters to regular build
(Menu/Setting) Enable g_extern.perfcnt_enable - turns RetroArch
frontend perfcounters on/off
(Menu) Add menu option 'Performance Counters'
2014-06-01 22:07:39 +02:00
twinaphex
df53c6b6e7 (Menu) Add Performance Counters Option. TODO - when in Performance
Counters menu, should update values in real-time
2014-06-01 18:45:03 +02:00
Themaister
980eefdd8c Autodetect number of CPU cores for softfilter. 2014-04-15 17:55:40 +02:00
twinaphex
ffece5c513 Don't redefine HAVE_NEON 2014-03-03 23:58:45 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
4433b86546 (iOS) ARM NEON support should now be built in for targets supporting
__ARM_NEON__
2013-12-30 18:44:11 +01:00
Themaister
1c9895611b Rework performance interface.
Avoids super-ugly macros and retroarch-ifdefs.
2013-12-18 19:21:56 +01:00
twinaphex
9852c5dc4c Rewrite perf interface - exposes callbacks now for RETRO_PERFORMANCE_INIT/RETRO_PERFORMANCE_START/RETRO_PERFORMANCE_STOP calls without messy, hardcoded preprocessor-dependent variables in macros - will update cores accordingly too 2013-12-18 19:03:08 +01:00
twinaphex
69a67b3df2 Change RARCH_PERFORMANCE_ macro calls to RETRO_PERFORMANCE 2013-12-17 19:14:57 +01:00
twinaphex
38d785984f Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h 2013-12-17 19:10:40 +01:00
Themaister
1a8d009b20 Add SSSE3 detection as well. 2013-12-12 10:56:21 +01:00
twinaphex
669959600a Add SSE3 detection to performance.c (check if this is correct) 2013-12-12 05:50:22 +01:00
Themaister
0c184138cc Fix PERF_TEST struct. 2013-11-18 13:39:34 +01:00
Lioncash
fac2783a09 Optimize some struct sizes.
This is the list of reduced sizes:

file: dsound.c         - struct dsound_t reduced from 56 bytes to 52 bytes.
file: shader_parse.h   - struct gfx_fbo_scale reduced from 32 bytes to 28 bytes.
file: thread_wrapper.c - struct texture reduced from 28 bytes to 24 bytes.
file: libretro.h       - struct retro_hw_render_callback reduced from 40 bytes to 36 bytes.
file: movie.c          - struct bsv_movie reduced from 36 bytes to 32 bytes.
file: netplay.c        - struct delta_frame reduced from 16 bytes to 12 bytes.
file: performance.h    - struct rarch_perf_counter_t reduced from 40 bytes to 32 bytes.
2013-11-03 23:57:41 -05:00
Themaister
3efd600dec Fix CXX_BUILD. 2013-02-08 12:05:22 +01:00
Themaister
1df86a722a Rework FPS measurement. 2013-02-05 12:51:12 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
Themaister
aa6d291707 Style nits. 2012-11-05 11:57:40 +01:00
twinaphex
af648b6598 (Performance) Use one single unsigned variable instead of
multiple bools - also introduce bitmasks
2012-11-05 09:06:00 +01:00
Themaister
6ce23c57df Fix x86_cpuid to preserve ebx for PIC. 2012-11-02 21:25:54 +01:00
twinaphex
66c830a9a1 (Android) Rename sse3 to ssse3 2012-11-02 05:32:52 +01:00
twinaphex
18aa791296 (Android) Now detects if CPU has NEON or SSE3 2012-11-02 05:27:58 +01:00
Themaister
c6b50d2645 Add CPU feature detection for X86. 2012-11-01 22:31:24 +01:00
twinaphex
b0e4ca599c (PC/Linux) performance_android.c works for PC Linux too - refactor as
performance_linux and compile it in for Linux build (but don't yet use it)
2012-11-01 07:41:36 +01:00
twinaphex
85f6ddc4ae (Android) We'll be able to tell now at runtime whether or not
a CPU has specific features (such as NEON, hard float, SSE, etc.).
Will refactor this later and add getters/setters
2012-11-01 07:15:01 +01:00
twinaphex
b240cfbc7e (RARCH_PERF) Rename benchmark.c to perforance.c
(MSVC2010) Rename incorrectly named MSVC2012 solution which was
really an MSVC 2010 solution
2012-11-01 06:21:18 +01:00