Einträge über Performance

Drosselung einer CPU

Die CPU in meinem Laptop wird recht schnell 96 °C warm. Ich wollte mal schauen, wie stark es dann gedrosselt wird. Also habe ich es mit mprime ausgelastet und man kann gut sehen, wie der durchschnittliche Takt anfängt von 3 GHz abzuweichen, sobald die Temperatur so 90 °C erreicht hat:

Weiterlesen…

Matrix structure in C

I know of two ways to represent a matrix in plain C. One is to have arrays in arrays. So the matrix is an array, where each entry contains a row of the matrix. You access the entries with something like matrix[row][col].

Weiterlesen…

include() vs. Functions

A while ago, I had an intriguing conversation with somebody who disclosed some secrets about PHP. He told me that he does not use functions but rather include files, since a function file would have to be included and since something has to be included anyway, there was no need for the function after all.

Weiterlesen…